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
1c33a743a9
Remove the ".it" in morss' name in index.html
2014-05-18 12:44:57 +02:00
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
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
c41a1fe226
Support for wikipedia fetured articles feed
...
Should work with most wikipedias
2014-05-18 12:17:14 +02:00
d8a3c4e9af
Add support for Google News
2014-05-18 11:58:45 +02:00
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
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
031b67a8db
Remove some useless options
...
progress and a accidentaly-disclosed one, cause useless
2014-05-14 15:03:40 +02:00
974bad7974
Fix and strip down facebook
...
Remove unstable non-working facebook semi-automatic token renewal (a simple warning on morss.it should be enough). Also commited some forgotten stuff.
2014-05-14 15:01:41 +02:00
b7136f2056
Pull iTunes raw feed out of iTunes url
...
This iTunes thinggy somehow qualifies as yet-another-apple-tech-rape: just some old tech behind iron curtains…
2014-05-12 23:15:51 +02:00
d8074d6b6d
Redirect google translate links to original link
...
Cause anyway Google Translate isn't scrappable. So it's better to have at least some content.
2014-03-22 20:53:33 +01:00
a4cf5e0daa
Google link cleaner now works on all .dot versions
2014-03-22 20:52:25 +01:00
c94ef92131
Fix Facebook support
...
Now token is grabbed directly by the server, and sent back by means of a cookie. This does unify token "creation" and renewal.
2014-02-21 14:36:06 +01:00
a1f5c3db3a
Have .csv files be downloaded
...
So that users can open it in LibreOffice/OpenOffice/Word without having to save it to disk beforehands
2014-02-05 00:37:12 +01:00
6c33bb6e1c
Safer Cache saving
...
Create tmp file and then move it to destination. Avoids corrupt files during write
2014-01-29 20:36:45 +01:00
6eaec96af7
Keep "dic" param in Cache.new
2014-01-22 15:56:08 +01:00
4e549dc88a
Change lim/max settings only for current "run"
2014-01-19 23:36:41 +01:00
0f7bc568e4
Send CGI HTTP headers earlier
...
So that browsers show that sth is going on
2014-01-15 21:02:47 +01:00
bcbcf3b559
Update dependencies (setup.py)
2014-01-13 00:24:03 +01:00
8c7177602d
Updated dependencies, unbalanced parenthesis
2014-01-13 00:23:20 +01:00
6eac20535f
readme: Add csv, md
2014-01-13 00:16:58 +01:00
4d6ef92504
Separate function for output. Add csv
2014-01-13 00:10:57 +01:00
7fbe728f93
Feeds: allow json, csv export
...
Uses OrderedDict
2014-01-13 00:08:03 +01:00
ec55f5e856
Use smarter order for RSS.dict
2014-01-13 00:07:04 +01:00
3d78cfb638
Fix HTTP bug when returning empty page
2014-01-11 18:21:37 +01:00
840b0b1ded
Remove yet another silly log message
2014-01-11 18:18:02 +01:00
8209f243bb
Fix rss-redirection code
...
And add log, which was lost when splitting functions (which made this fix needed)
2014-01-11 18:15:36 +01:00
3b3ac4c8a6
Remove batch of useless imports
2014-01-11 17:31:27 +01:00
ca72c397fb
Update setup.py
...
Deprecated var name (stupid google), add feedify.ini (still not sure what to do with .htaccess)
2014-01-11 17:29:06 +01:00
5feb061bf7
First attempt at decent folder structure
...
Use setup.py, subfolder for code.
2014-01-11 17:11:57 +01:00
4038033336
Update README
...
New settings (eg. al, txt, silent), included HTTP server, new todo item (readability rewrite)
2014-01-09 20:34:12 +01:00
bb6a3b3d4d
Update README todo
...
JSON output and own HTTP server have been implemented
2014-01-09 19:57:03 +01:00
84377a3f36
Commit "id" in feedify
...
Has been there for a while, never bothered to commit.
2014-01-08 01:49:44 +01:00
3e2c4de833
Fix bug in parseOptions with values
2014-01-08 01:48:39 +01:00
bd1c6a5be6
Huge commit: wsgiref-like. "Progress" dropped.
...
Can now run as HTTP server. Main functions split again (Init, Fetch). LIM/MAX_STUFF moved to function body (this still has to be improved). "progress" too hard to get to work with wsgiref, dropped. This whole thing should make it easier to maintain code (no more ifs everywhere).
2014-01-08 01:44:45 +01:00
f12031cbdb
More usefull except logging
2014-01-08 01:38:50 +01:00
a2402da32e
Stop logging accept-header string
...
Useless once stable
2014-01-08 01:37:16 +01:00
69a8516cd1
Slightly nicer "rank" computer in accept-header
2014-01-08 01:36:31 +01:00
32f9550be5
Add "al" (apparent limit) param with value
...
Removes element from rss *after* treatment, useful for slow json API
2014-01-08 01:34:40 +01:00
e70399b654
Raise MorssExceptions in morss.py
...
Cleaner
2014-01-08 01:33:18 +01:00
47b8c12fbb
Remove useless 'socket' dependence
2013-12-23 13:10:02 +01:00
bb48ee4518
Forgot one chunk of code in previous commit
2013-12-22 18:27:18 +01:00
a5e4775f68
Move some code into Gather()
...
Will be useful when playing with WSGIREF
2013-12-22 18:25:33 +01:00
b86b0f371a
Remove silly debug print
2013-12-22 12:45:21 +01:00
0badec72a9
Allow iteration over RSS objects
...
Useful for JSON
2013-12-22 12:44:33 +01:00
d97a72bc0b
Use Cache dict for facebook storage
2013-12-22 12:43:03 +01:00
afe31e695a
"json" arg to output json feed
2013-12-21 20:14:10 +01:00
47013c7948
Use sys.stdout.write instead of print in progress
...
For some reason, this avoids having multiple "lines" on top of each other, which was always due to print()' newlines. And this makes the client/js part much more stable.
2013-12-21 20:11:20 +01:00
eafbc14a58
Allow "progress" in JSON
2013-12-21 20:09:14 +01:00