pictuga
9f51448160
Use xrange where applicable (faster)
2014-06-22 02:02:43 +02:00
pictuga
f01efb7334
Make most of the code pep8-compliant
...
Thanks a lot to github.com/SamuelMarks for his nice work
2014-06-22 01:59:01 +02:00
pictuga
da0a8feadd
Replace TABS with FOUR SPACES in .py
...
(you might want to use: git diff -w)
2014-06-21 18:35:59 +02:00
pictuga
da857f8bb2
Remove useless odata var in morss/morss.py
2014-06-21 18:25:50 +02:00
pictuga
3c859423b3
Add requirements, edit setup.py and README
2014-06-21 16:38:48 +02:00
pictuga
3fbeb892ca
Fix typo in README
2014-06-21 16:30:18 +02:00
pictuga
286b90ab8e
Fix typo in error raising message
2014-06-21 16:29:05 +02:00
pictuga
cc27483143
Remove ununsed imports
2014-06-21 16:13:54 +02:00
pictuga
1cf959ce5b
Fix item.link deletion
2014-06-21 16:08:37 +02:00
pictuga
de5b75162c
Add :ad mode (as an example)
...
Not really useful, but shows how to quickly add/remove items from the feed
2014-06-16 14:07:59 +02:00
pictuga
850d574424
Add one comment
...
Was waiting to be committed for months...
2014-06-16 14:07:23 +02:00
pictuga
45478b592e
Remove cache-redirect
...
Some kind of no-longer-working code left-over
2014-06-16 14:06:42 +02:00
pictuga
8270685ac6
Use longer timeout for xml fetching
2014-06-16 14:03:24 +02:00
pictuga
0e3751c712
Remove useless comment
2014-06-16 14:02:54 +02:00
pictuga
862fe3cae4
Use more recent user-agent
2014-06-16 14:01:01 +02:00
pictuga
7211093cc5
Add :smart :noref modes, update README
2014-06-16 14:00:02 +02:00
pictuga
f991802d9e
Try to use less server-specific code for FB tokens
2014-06-16 13:57:53 +02:00
pictuga
9285525256
Unify internal/external errors
2014-06-16 13:55:59 +02:00
pictuga
ed4f2b8b98
Custom Error 500 message
...
Error 500 appear when 404 pages crash
2014-06-16 13:51:45 +02:00
pictuga
cdef40fbbe
Fix Cache saving crash
...
Because was deleting values of a dict while looping over its values...
2014-06-07 19:14:31 +02:00
pictuga
f90958149e
Add :reader
...
Uses wheezy.template, which is said to be fast and light. Provided template file is really basic, custom css suggested.
2014-05-29 14:12:16 +02:00
pictuga
814ff46fbd
README: explanation of what morss.process is
2014-05-24 19:17:58 +02:00
pictuga
1728e3902c
README: cache no longer mandatory
2014-05-24 19:14:12 +02:00
pictuga
b66ac2bc5e
Make it possible not to use caching
2014-05-24 19:13:41 +02:00
pictuga
3aea7cb8da
Further document lib usage
2014-05-24 19:03:05 +02:00
pictuga
25fdca4bf0
Add do-it-all function
...
For quick lib use
2014-05-24 19:02:22 +02:00
pictuga
26c91070f5
Time-based Cache
...
Solves the :proxy issue for good. More convenient, more flexible
2014-05-24 19:01:21 +02:00
pictuga
cf1f5d79fa
More README info on lib use
2014-05-22 23:13:25 +02:00
pictuga
5e64696031
Fix '/morss.py/' url fixer
2014-05-22 22:53:36 +02:00
pictuga
364fbc4ba6
Remove apparent limit
...
Cause no longer works, cause of all-bool args introduced earlier
2014-05-22 22:52:49 +02:00
pictuga
11923e0a6d
Fix python lib code in README
...
Missing 'morss.' added
2014-05-22 22:47:18 +02:00
pictuga
b03d865b7b
Get rid of ParseOptions()
...
That thing wasn't nice, and depended too much on the various use case. The new approach is to turn morss into a library and turn the use cases into some pre-implemented lib usages
2014-05-22 22:44:59 +02:00
pictuga
16713e6d2a
Fix README sample python code
2014-05-21 15:05:35 +02:00
pictuga
49f0be1919
Change README to enjoy Github syntax highlighting
2014-05-21 12:46:48 +02:00
pictuga
433374b227
Quick dirty python library use example
...
I'm fully aware of the ugliness of the code provided
2014-05-21 12:44:05 +02:00
pictuga
a27f0cd0b6
Fix README misspell
2014-05-21 12:27:29 +02:00
pictuga
3c48c58127
Remove useless HOLD var
...
Was needed in DEBUG at some point
2014-05-21 12:19:49 +02:00
pictuga
78cd27a68e
README disclaimer about poor code quality
2014-05-21 12:14:26 +02:00
pictuga
c0a6e5c70f
Update README for the server
...
Tell about /www provided files, and roughly how to use it
2014-05-21 12:09:50 +02:00
pictuga
de7c3f887f
Make last use case howto similar to the others
2014-05-21 12:07:15 +02:00
pictuga
47545f7472
Remove .htaccess progress-specific config
...
No longer needed, cause :progress has been dropped, because it's not so useful, and super hard to implement cleanly
2014-05-21 12:03:32 +02:00
pictuga
ce2710f981
Move static server-related files to own folder
...
Namely /www, so as to clean things up, and to make it possible to document that a little more
2014-05-21 11:52:37 +02:00
pictuga
1c33a743a9
Remove the ".it" in morss' name in index.html
2014-05-18 12:44:57 +02:00
pictuga
b5bd0be3d3
Added index.html
...
For now, it's your job to find how to get this thing to work well with your http server (or morss')
2014-05-18 12:37:02 +02:00
pictuga
e8e7f170a6
Include super dumb http file server
...
For index.html, other files can be added, but everything has to be hard-coded (mimetype included)
2014-05-18 12:34:23 +02:00
pictuga
c41a1fe226
Support for wikipedia fetured articles feed
...
Should work with most wikipedias
2014-05-18 12:17:14 +02:00
pictuga
d8a3c4e9af
Add support for Google News
2014-05-18 11:58:45 +02:00
pictuga
bbf1ffbb15
Remove 'persistent' and 'dic' arg in Cache
...
'dic' was mostly intended for facebook now-bygone advanced buggy token storage. 'persistent' was needed by fb and 'proxy' mode, but a small workaround was found for the proxy mode (basically making sure the cache object is always at least 5-item long)
2014-05-15 00:54:40 +02:00
pictuga
76e7f1ea00
Try to use more generic 302/303 redirections
...
Still far from being great, but at least I can use it on both morss.it and test.morss.it now
2014-05-14 15:05:14 +02:00
pictuga
031b67a8db
Remove some useless options
...
progress and a accidentaly-disclosed one, cause useless
2014-05-14 15:03:40 +02:00