GithubHelp home page GithubHelp logo

hjue / justwriting Goto Github PK

View Code? Open in Web Editor NEW
530.0 36.0 80.0 4.32 MB

markdown blog system

Home Page: http://hjue.github.io/JustWriting/

License: MIT License

ApacheConf 0.01% PHP 73.33% HTML 3.01% CSS 20.21% JavaScript 3.44%

justwriting's People

Contributors

hjue avatar jomo avatar paulosv avatar xieyu33333 avatar yangjianlin-c avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

justwriting's Issues

Using Justwriting ! (As a french guy ;) )

Hello ! I'm using justwriting for my blog tictech
I've made a tutorial (in french) about installing it and uploading posts using git, you can get it here if you are interested.

Just a little question by the way : is there a way to force post order when they are published the same day ?

Thanks for your work, it is awesome !

installation trouble

Hi, i have a fresh install of JW on my raspberry pi home server, but i having trouble to use JW.

i have another script like rss reader hosted, work perfectly.

my nginx config�

capture d ecran 2015-02-07 13 56 26

Thanks Tom.

wrong head information make bug

I import my old markdown post from Pelican ! Those files contains extra header information that you don't use . ( Category, slug etc... )
I had to remove it , to make render good.

Try to add :
SLUG : myslug in the header...
Result :
on the webpage, date are wrong and are written as the content

tags好像只能显示1个了

刚刚更新的最新JustWriting代码,不确定是不是我的配置错了。

md的开头如下,
title: Java 8新特性(What's New in Java 8 中文版)
date: 2014-11-29 13:16
tags: [Java, Translation]
category: Java
toc: yes

tags: [Java, Translation]那一行换成过tags: Java Translation,也都是不对。显示的效果都是只显示了一个tag Java,像这样。之前一般用前一种写法,是可以的。

LanBao

We Gonna use the JustWriting, thx to JellyBool's rec...

New template

Hello (again) :

I've pushed my template on github here

Feel free to use it !

我在用justwriting,提点问题

farbox用户,现在开始用justwriting,很好用,比farbox快。发现一些问题,可能是我不会设置,如下

  1. 代码有高亮支持么?如何设置?我好像没找到
  2. 有数学公式的支持么?好像不能,farbox用MathJax,建议也用这个,这样我就能完全无障碍转过来了,^_^
  3. 再提一个无节操的,支持的网盘能再多几个么?比如金山快盘

求助

我今天下载了JustWriting项目,放在了自己的Ubuntu apache2容器里,首页可以正常打开,并且能看到文章摘要,但是其他页面都打不开,显示404 not found错误,貌似是routes没有正常解析url。请问能提供些帮助么,谢谢

需要支持txt格式文本

有个代理pac,想随时更改里面的内容,挂在网站上,需要绝对路径。
已改config.yaml文件,
hostaccess: if(path ~ ".(txt|md)?$") allow "127.0.0.1"

还需改哪个文件

http://nsaos.com/sync/dropbox/download

Fatal error: Uncaught exception 'Dropbox\Exception_NetworkIO' with message 'Error executing HTTP request: error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure' in /home/vcap/app/application/third_party/Dropbox/Curl.php:69 Stack trace: #0 /home/vcap/app/application/third_party/Dropbox/RequestUtil.php(169): Dropbox\Curl->exec() #1 /home/vcap/app/application/third_party/Dropbox/Client.php(1401): Dropbox\RequestUtil::doPost('justwriting', '2b50rH8VnFkAAAA...', NULL, 'api.dropbox.com', '1/delta', Array) #2 /home/vcap/app/application/third_party/Dropbox/Client.php(887): Dropbox\Client->doPost('api.dropbox.com', '1/delta', Array) #3 /home/vcap/app/application/controllers/dropbox.php(54): Dropbox\Client->getDelta(NULL) #4 [internal function]: Dropbox->download() #5 /home/vcap/app/system/core/CodeIgniter.php(359): call_user_func_array(Array, Array) #6 /home/vcap/app/index.php(208): require_once('/home/vcap/app/...') #7 {main} thrown in /home/vcap/app/application/third_party/Dropbox/Curl.php on line 69

EverDoc.app

Hjue,
Sorry if this is not about JustWriting, but I could not find an email on your website nor on your github account.

I just purchased this app and it does not even get pack the splash screen and crashes. Can I get help on this?

Regards,
John

Translations

Hi,

It is possible to translate your project in english ?
How to install this ?

Thank you for advance

Dropbox fails to verify

Hello,

I installed JustWriting on my server (virtual, host at 1and1) and I have some trouble to make it work wit Dropbox (webhook):
I wanted to "refresh" my .md files so I've been to http://atrium.jonathanlurie.fr/sync/dropbox but I had this error:

Fatal error: Uncaught exception 'Exception' with message 'The Dropbox SDK uses 64-bit integers, but it looks like we're running on a version of PHP that doesn't support 64-bit integers 

I checked for a fix and I found that commenting the "throw" in the file application/third_party/Dropbox/RequestUtil.php on line 22 "unthrow" this error.

But then I got an error from Dropbox it self, displaying that:

Error (400)
It seems the app you were using submitted a bad request. If you would like to report this error to the app's developer, include the information below.


More details for developers

Invalid redirect_uri: "http://atrium.jonathanlurie.fr/sync/dropbox/callback". When response_type=code, only localhost URIs can start with "http://"; all others must start with "https://".

And I have no possibility to activate ssl on my website (it's just a blog!), so I check yours at http://www.hjue.me/sync/dropbox (sorry for that) and it does not throw this ERROR 400...
I think the fix about 64 bit-integer is not related to that.

What is you secret? Do you have a clue to fix that?

Jonathan

markdown的代码高亮解析似乎有些问题

首先,非常感谢提供了这么好用的blog系统。

我是8.19上午从github最新clone的代码,我不确定是不是我写的有语法错误。

在justwriting中的效果请见:http://valleylord.sinaapp.com/post/201405-cpp11-new-features-1
在farbox中的效果请见:http://valleylord.farbox.com/post/201405-cpp11-new-features-1#content

好像不能上传文件,贴上文第一段出现代码地方的markdown,如下。

模板表达式中的空格

原先在模板表达式的2个右括号中间需要加空格,现在不需要了

vector<list<int> >; // OK in each C++ version
vector<list<int>>; // OK since C++11

另外,公式的支持非常不错,如果能支持行间的公式就更好了,如下的最后一行
justwriting的效果:http://valleylord.sinaapp.com/post/README
farbox的效果:http://valleylord.farbox.com/post/readme

超级赞的程序,实现了我梦寐以求的功能

感谢hjue同学写的这个程序,很早就想找一个类似于Farbox的程序部署一个属于自己的博客,今天终于有了JustWriting。有了这个利器,打算将以前的一些资料整理下,通过JustWriting发布到网上。

是否可以将我的博客加入演示链接:http://doc.mekesim.com/

有两个建议:

  1. 是否可以增加一个字段,实现栏目分类的功能?应该和目前的tag功能的实现方法差不多。
  2. 因为可以使用Dropbox同步,进行多用户共享或编辑,是否可以在posts下增加子目录。这样不同的作者可以同步到不同的子目录中。实现多用户发布文档的功能,而且可以灵活控制是否让不同用户对某些文件夹内的md文件可见。

相比farbox暂时没看到有什么优势

首先,justwriting开源,点赞。
虽然不懂这些搞网络开发的语言(现自学C#),也说一下我尝试用justwriting发现的问题:

1、刚开始见到支持微信发文章,感觉很不错,但后台登陆farbox看到它也支持了。
2、JustWriting需要自身有VPS或者虚拟空间,farbox虽然已经收费,但相对来说价格还是比购买VPS或者虚拟空间便宜很多,试了下用openshift快捷安装justwriting,结果发现超过字节限制所以失败了。
3、对于SAE,由于反对网络实名制的原因而不用。

程序本身很赞,就是感觉实际用起来其实性价比并不高。

A PHP Error was encountered

A PHP Error was encountered
Severity: Notice
Message: Undefined offset: 5
Filename: libraries/blog_lib.php
Line Number: 280

Tag weight

Hello !

I've made a custom template in which I have made a tag cloud, which you can see here. I had to tweak a bit jw core so I could be able to count the number of uses of each tag (weight) to give them different sizes.

I've modified application/librairies/blog_lib.php :
Line 344 :
Was : $all_tags[$trimed_tag]=1;
is now : $all_tags[$trimed_tag]+=1;

Line 423 :
Was : return array_keys($this->_all_tags);
is now : return $this->_all_tags;

Changes only behaviour in tags page (other use get_posts() functions) and allows to sort tags with twig. I think it might interest some other people.

Multi-author

Hello !

It would be great to be able to specify the author for each post so we could have several writers on a single blog !

404错误

新建md文件,首页可以看到,但是点击全文就会显示404错误。同样,打开tags、archives,都是404错误,请问是什么原因啊?
http://vps.craftor.org

Add "..." after Text wrapping

On the main page, content text wrap , should have some dot .
Actually it looks like :
"Hello, Here is my new blog , I talk about the com"

It should be :
"Hello, Here is my new blog , I talk about the com ..."

No input file specified.

Hello, likes the title said,
I have this error on the index.php page on a fresh install, I don't know what is the problem ..
(I'm on a free hoster, 'hostinger')
Thank you very much,
Jeanba88

url/sync/dropbox/download

myjustwriting/sync/dropbox/download
访问这个页面是空白,在虚拟主机上。
在服务器上ping api dropbox 正常。curl 正常。
就是无法和dropbox 同步。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.