73b477665e
morss: separate :clip with <hr> instead of stars
2020-05-02 19:19:54 +02:00
b425992783
morss: don't follow alt=rss with custom feeds
...
To have the same page as with :get=page and to avoid shitty feeds
2020-05-02 19:18:58 +02:00
27a42c47aa
morss: use final request url
...
Code is not very elegant...
2020-04-28 22:30:21 +02:00
c27c38f7c7
crawler: return dict instead of tuple
2020-04-28 22:29:07 +02:00
a1dc96cb50
feeds: remove mimetype from function call as no longer used
2020-04-28 22:07:25 +02:00
749acc87fc
Centralize url clean up in crawler.py
2020-04-28 22:03:49 +02:00
c3f06da947
morss: process(): specify encoding for clarity
2020-04-28 14:45:00 +02:00
44a3e0edc4
readabilite: specify in- and out-going encoding
2020-04-28 14:44:35 +02:00
ec8edb02f1
Various small bug fixes
2020-04-19 12:54:02 +02:00
d01b943597
Remove leftover threading var
2020-04-19 12:51:11 +02:00
b361aa2867
Add timeout to :get
2020-04-19 12:50:26 +02:00
4ce3c7cb32
Small code clean ups
2020-04-19 12:50:05 +02:00
7e45b2611d
Disable multi-threading
...
Impact was mostly negative due to locks
2020-04-19 12:29:52 +02:00
e99c5b3b71
morss: more sensible default MAX/LIM values
2020-04-18 17:21:45 +02:00
0b31e97492
morss: remove debug code in http file handler
2020-04-14 23:20:03 +02:00
b0ad7c259d
Add README & LICENSE to data_files
2020-04-14 19:34:12 +02:00
59139272fd
Auto-detect the location of www/
...
Either ../www or /usr/share/morss
Adapted README accordingly
2020-04-14 18:07:19 +02:00
e6b7c0eb33
Fix app definition for uwsgi
2020-04-13 15:30:09 +02:00
8e5e8d24a4
Timezone fixes
2020-04-10 20:33:59 +02:00
ee78a7875a
morss: focus on the most recent feed items
2020-04-10 16:08:13 +02:00
47b33f4baa
morss: specify server output encoding
2020-04-09 19:10:45 +02:00
a32f5a8536
readabilite: add debug option (also used by :get)
2020-04-09 19:08:13 +02:00
63a06524b7
morss: various encoding fixes
2020-04-09 19:06:51 +02:00
78cea10ead
morss: replace :getpage with :get
...
Also provides readabilite debugging
2020-04-09 18:43:20 +02:00
f3d1f92b39
Detect encoding everytime
2020-04-07 10:38:36 +02:00
7691df5257
Use wrapper for http calls
2020-04-07 10:30:17 +02:00
f1d0431e68
morss: drop :html, replaced with :reader
...
README updated accordingly
2020-04-07 09:23:29 +02:00
a82ec96eb7
Delete feedify.py leftover code
...
iTunes integration untested, unreliable and not working...
2020-04-05 22:16:52 +02:00
3617f86e9d
morss: make cgi_encore more robust
2020-04-05 16:43:11 +02:00
d90756b337
morss: drop 'keep' option
...
Because the Firefox behaviour it is working around is no longer in use
2020-04-05 16:37:27 +02:00
d20f6237bd
crawler: replace ContentNegoHandler with AlternateHandler
...
More basic. Sends the same headers no matter what. Make requests more "replicable".
Also, drop "text/xml" from RSS contenttype, too broad, matches garbage
2020-04-05 16:05:59 +02:00
8a4d68d72c
crawler: drop 'basic' toggle
...
Can't even remember the use case
2020-04-05 16:03:06 +02:00
e6811138fd
morss: use redirected url in :getpage
...
Still have to find how to do the same thing with feeds...
2020-04-04 20:04:57 +02:00
35b702fffd
morss: default values for feed creation
2020-04-04 19:39:32 +02:00
4a88886767
morss: get_page to act as a basic proxy (for iframes)
2020-04-04 16:37:15 +02:00
1653394cf7
morss: cgi_dispatcher to be able to create extra functions
2020-04-04 16:35:16 +02:00
a8a90cf414
morss: move url/options parsing to own function
...
For future re-use
2020-04-04 16:33:52 +02:00
bdbaf0f8a7
morss/cgi: fix handling of special chars in url
2020-04-04 16:21:37 +02:00
d0e447a2a6
ItemFix: clean up Pocket links
2020-04-04 16:20:39 +02:00
7c3091d64c
morss: code spacing
...
One of those commits that make me feel useful
2020-03-21 23:41:46 +01:00
37b4e144a9
morss: small fixes
...
Includes dropping off ftp support
2020-03-21 23:30:18 +01:00
bd4b7b5bb2
morss: convert HTML feeds to XML ones for completeness
2020-03-21 23:27:42 +01:00
68d920d4b5
morss: make FeedFormat more flexible with encoding
2020-03-21 23:26:35 +01:00
758ff404a8
morss: fix cgi_app silent output
...
*Must* return sth
2020-03-21 23:25:25 +01:00
463530f02c
morss: middleware to enforce encoding
...
bytes are always expected
2020-03-21 23:23:50 +01:00
ec0a28a91d
morss: use middleware for wsgi apps
2020-03-21 23:23:21 +01:00
421acb439d
morss: make errors more readable over http
2020-03-21 23:08:29 +01:00
42c5d09ccb
morss: split "options" var into "raw_options" & "options"
...
To make it clearer who-is-what
2020-03-21 23:07:07 +01:00
056de12484
morss: add sheet.xsl to file handled by http server
2020-03-21 23:06:28 +01:00
961a31141f
morss: fix url fixing
2020-03-21 17:28:00 +01:00