网络地球阅读器
EarthReader-Web的Python项目详细描述
…图片::https://raw.github.com/earth reader/web/master/master/artwork/icon-u256x256.png
web地球阅读器网站
==================
<
安装ll
----
代码块:console
$pip安装earthleader web
,然后可以使用命令"earthleader"。
……代码块::console
$earthreader-h
repository
--
*repository*是存储数据的目录。它可以位于Dropbox或
`Google Drive``文件夹中,以便与其他设备同步。您还可以使用rsync同步存储库目录。
如果尚未存在的路径被传递给cli repository path参数或环境变量
``earthreader\u repository`,则会自动创建新文件夹。
。_ Dropbox:https://www.dropbox.com/
。_谷歌硬盘:https://drive.google.com/
http://blog.earthleader.org/2013/12/sync/
…_ rsync:http://rsync.samba.org/
独立服务器
----
您可以使用其独立服务器运行Earth Reader for Web:
。代码块:console
$earthleader server/path/to/repository/dir
$earthleader server-p 8080/path/to/repository/dir监听8080端口
$earthleader server-d/path/to/repository/dir;调试模式
rowser.
——
因此您可以使用首选的wsgi服务器来运行它,例如gunicorn、mod wsgi。
wsgi端点是"earthleader.web:app"。请注意,您可以通过设置"earthleader\u repository"环境
变量来提供存储库的路径。
请注意,在使用首选的wsgi服务器和独立服务器
(``earthleader server``命令)自动为您执行。我们建议您将"earthreader crawl"命令注册到"crontab"中。
例如,您可以在gunicorn上运行它:
。代码块::console
$export earthleader\u repository=/path/to/repository/dir
$gunicorn earthleader.web:app
代码块::apache
<;virtualhost*:80>;
servername yourwebsite.com
wsgidaemonprocess earthleader user=www data group=www data threads=1
wsgiscriptalias//var/wsgi/earthleader.wsgi
<;目录/var/wsgi/>;
wsgiprocessgroup earthreader
wsgiapplicationgroup%{global}
order deny,allow
allow from all
;我们建议您使用授权来实现安全性。
authttype basic
authname"专用rss阅读器"
authuserfile/var/wsgi/earthreader.htpasswd
需要有效的用户
<;目录>;
<;虚拟主机>;
……代码块::python
/usr/bin/env python
_ wsgi:http://www.python.org/dev/peps/pep-3333/
。_古尼康:http://gunicorn.org/
…_ mod_wsgi:http://code.google.com/p/modwsgi/
爬虫程序
----
>您也可以通过cli对源进行手动爬网:
。代码块::控制台快捷键
----
-``j`/``k`:旧的/新的条目。
-``n`/``p`:下一个/上一个订阅。
-``o`:在新选项卡中打开条目。
-``r`:刷新提要。
-``s`:星型/非星型。
-``u``或``m`:标记为未读。
-``?``:此帮助消息。
链接
----
earth reader
http://earthleader.org/
https://github.com/earthleader/libearth
git repository(github)
https://github.com/earthleader/web
issue tracker(github)
https://github.com/earthleader/web/issues
mailling list
earthleader@librelist.com
continuous integration(travis)
https://travis ci.org/earthleader/web
图片:https://travis-ci.org/earthleader/web.png?branch=master
:alt:build status
:target:https://travis ci.org/earthleader/web
demo
----
您可以在这里尝试earthleader web:
http://try.earthleader.org/
--
<0.3.0版d 2015年2月24日。
-默认情况下运行爬虫线程。
-错误代码"循环引用",这是一个拼写错误,已重命名为"循环引用"。
-修复了条目有图像时的自动滚动。
-修复了引发"builderror"的错误。人们开始需要libearth 0.3.3.1或更高版本的libearth0.3.1或更高版本。
-保存主题设置。
-"Gototop"按钮位于底部。
-以及许多变化(`0.2.2版`.
www.github.com/earthreader/web/issues/49
<0.2.2.2版
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>
~~~~~~~~~~2月2日2015年4月4日。
-修复了初始化时进入无限循环的错误
:类:`~earthreader.web.categoryentrygenerator`
-修复打开的链接。
-以及许多更改(`version 0.1.2`.)
version 0.2.1
~wsgi应用程序上的目录路径。[` 42` uu]
-给出正确的排列。[` 43`u]
-解决libearth 0.3.0不兼容问题。
-条目列表由浏览器使用"最后修改的"进行缓存,如果从"头"开始修改,则使用"最后修改的"进行缓存。
https://github.com/earthleader/web/issues/43
0.2.0版
~~~~~~~~~~~~~~~
2014年4月22日发布。
-``earthreader crawl``命令添加新选项:
-``-f`/``--feed id``仅对指定的feed(如果存在)进行爬网。
-`-v`/`--verbose``显示更多详细信息。
-首先折叠类别。
-切换折叠类别的键盘快捷键。
-单击移动布局的源时展开类别。
-谷歌阅读器风格的快捷键。
-将全部标记为读取功能。[` 28`]
-修复了"立即爬网"按钮不起作用的错误。
-命令行上的相对目录路径。36 `` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` `<>
` http://github.com/eathreader/web/issues/www/github.com/eathreader/web/eathreader/web/issue/web/issue/web/issues/36
` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` `~2015年2月24日发布。/>
-浏览器使用以下项缓存条目列表:mailHeader:`Last modified`和
:mailHeader:`if modified since`头。
-修复多进程上格式错误的会话ID。
-修复爬网时的错误日志。
-未给定时强制mime类型"test/html"。
-修复快捷键。
version 0.1.1
~~~~~~~~~~~~~~
2014年1月10日发布。
-修复了在python 3上调用"earthleader"命令时的"importTerror"。
[`25``由yong choi提供]
-存储库路径参数格式对于
``earthleader server`和``earthleader server`都保持一致爬网``命令。
[``24``uu]
-关闭帮助放置"escape"键。
[``27``uu]
-添加了`--p``/```--profile`/``--linesman``选项,仅在安装了``linesman`时才可用,添加到``earthreader server``comand。
-当某些feed引发错误时继续爬网。
-修复爬网错误。
-删除fe失败时打印错误ed.
-修复了服务器端的一些Unicode编码错误。
-``-v``/``--verbose``选项打印了
爬虫错误的详细回溯。
-加载内容时的微调器用户界面。
https://github.com/earthleader/web/pull/25
https://github.com/earthleader/web/issues/24
ttps://github.com/earthleader/web/issues/27
。_巡线员:https://pypi.python.org/pypi/linesman
<0.1.0版
~阿尔法版本。
web地球阅读器网站
==================
<
安装ll
----
代码块:console
$pip安装earthleader web
,然后可以使用命令"earthleader"。
……代码块::console
$earthreader-h
repository
--
*repository*是存储数据的目录。它可以位于Dropbox或
`Google Drive``文件夹中,以便与其他设备同步。您还可以使用rsync同步存储库目录。
如果尚未存在的路径被传递给cli repository path参数或环境变量
``earthreader\u repository`,则会自动创建新文件夹。
。_ Dropbox:https://www.dropbox.com/
。_谷歌硬盘:https://drive.google.com/
http://blog.earthleader.org/2013/12/sync/
…_ rsync:http://rsync.samba.org/
独立服务器
----
您可以使用其独立服务器运行Earth Reader for Web:
。代码块:console
$earthleader server/path/to/repository/dir
$earthleader server-p 8080/path/to/repository/dir监听8080端口
$earthleader server-d/path/to/repository/dir;调试模式
rowser.
wsgi端点是"earthleader.web:app"。请注意,您可以通过设置"earthleader\u repository"环境
变量来提供存储库的路径。
请注意,在使用首选的wsgi服务器和独立服务器
(``earthleader server``命令)自动为您执行。我们建议您将"earthreader crawl"命令注册到"crontab"中。
例如,您可以在gunicorn上运行它:
。代码块::console
$export earthleader\u repository=/path/to/repository/dir
$gunicorn earthleader.web:app
代码块::apache
<;virtualhost*:80>;
servername yourwebsite.com
wsgidaemonprocess earthleader user=www data group=www data threads=1
wsgiscriptalias//var/wsgi/earthleader.wsgi
<;目录/var/wsgi/>;
wsgiprocessgroup earthreader
wsgiapplicationgroup%{global}
order deny,allow
allow from all
;我们建议您使用授权来实现安全性。
authttype basic
authname"专用rss阅读器"
authuserfile/var/wsgi/earthreader.htpasswd
需要有效的用户
<;目录>;
<;虚拟主机>;
……代码块::python
/usr/bin/env python
_ wsgi:http://www.python.org/dev/peps/pep-3333/
。_古尼康:http://gunicorn.org/
…_ mod_wsgi:http://code.google.com/p/modwsgi/
爬虫程序
----
>您也可以通过cli对源进行手动爬网:
。代码块::控制台快捷键
----
-``j`/``k`:旧的/新的条目。
-``n`/``p`:下一个/上一个订阅。
-``o`:在新选项卡中打开条目。
-``r`:刷新提要。
-``s`:星型/非星型。
-``u``或``m`:标记为未读。
-``?``:此帮助消息。
链接
----
earth reader
http://earthleader.org/
git repository(github)
https://github.com/earthleader/web
issue tracker(github)
https://github.com/earthleader/web/issues
mailling list
earthleader@librelist.com
continuous integration(travis)
https://travis ci.org/earthleader/web
图片:https://travis-ci.org/earthleader/web.png?branch=master
:alt:build status
:target:https://travis ci.org/earthleader/web
demo
----
您可以在这里尝试earthleader web:
http://try.earthleader.org/
<0.3.0版d 2015年2月24日。
-默认情况下运行爬虫线程。
-错误代码"循环引用",这是一个拼写错误,已重命名为"循环引用"。
-修复了条目有图像时的自动滚动。
-修复了引发"builderror"的错误。人们开始需要libearth 0.3.3.1或更高版本的libearth0.3.1或更高版本。
-保存主题设置。
-"Gototop"按钮位于底部。
-以及许多变化(`0.2.2版`.
www.github.com/earthreader/web/issues/49
<0.2.2.2版
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>
~~~~~~~~~~2月2日2015年4月4日。
-修复了初始化时进入无限循环的错误
:类:`~earthreader.web.categoryentrygenerator`
-修复打开的链接。
-以及许多更改(`version 0.1.2`.)
version 0.2.1
~wsgi应用程序上的目录路径。[` 42` uu]
-给出正确的排列。[` 43`u]
-解决libearth 0.3.0不兼容问题。
-条目列表由浏览器使用"最后修改的"进行缓存,如果从"头"开始修改,则使用"最后修改的"进行缓存。
0.2.0版
~~~~~~~~~~~~~~~
2014年4月22日发布。
-``earthreader crawl``命令添加新选项:
-``-f`/``--feed id``仅对指定的feed(如果存在)进行爬网。
-`-v`/`--verbose``显示更多详细信息。
-首先折叠类别。
-切换折叠类别的键盘快捷键。
-单击移动布局的源时展开类别。
-谷歌阅读器风格的快捷键。
-将全部标记为读取功能。[` 28`]
-修复了"立即爬网"按钮不起作用的错误。
-命令行上的相对目录路径。36 `` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` `<>
` http://github.com/eathreader/web/issues/www/github.com/eathreader/web/eathreader/web/issue/web/issue/web/issues/36
` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` `~2015年2月24日发布。/>
-浏览器使用以下项缓存条目列表:mailHeader:`Last modified`和
:mailHeader:`if modified since`头。
-修复多进程上格式错误的会话ID。
-修复爬网时的错误日志。
-未给定时强制mime类型"test/html"。
-修复快捷键。
version 0.1.1
~~~~~~~~~~~~~~
2014年1月10日发布。
-修复了在python 3上调用"earthleader"命令时的"importTerror"。
[`25``由yong choi提供]
-存储库路径参数格式对于
``earthleader server`和``earthleader server`都保持一致爬网``命令。
[``24``uu]
-关闭帮助放置"escape"键。
[``27``uu]
-添加了`--p``/```--profile`/``--linesman``选项,仅在安装了``linesman`时才可用,添加到``earthreader server``comand。
-当某些feed引发错误时继续爬网。
-修复爬网错误。
-删除fe失败时打印错误ed.
-修复了服务器端的一些Unicode编码错误。
-``-v``/``--verbose``选项打印了
爬虫错误的详细回溯。
-加载内容时的微调器用户界面。
https://github.com/earthleader/web/pull/25
https://github.com/earthleader/web/issues/24
ttps://github.com/earthleader/web/issues/27
。_巡线员:https://pypi.python.org/pypi/linesman
<0.1.0版
~阿尔法版本。