pictuga
bf86c1e962
crawler: make AutoUA match http(s) type
2020-04-05 16:07:51 +02:00
pictuga
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
pictuga
8a4d68d72c
crawler: drop 'basic' toggle
...
Can't even remember the use case
2020-04-05 16:03:06 +02:00
pictuga
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
pictuga
35b702fffd
morss: default values for feed creation
2020-04-04 19:39:32 +02:00
pictuga
4a88886767
morss: get_page to act as a basic proxy (for iframes)
2020-04-04 16:37:15 +02:00
pictuga
1653394cf7
morss: cgi_dispatcher to be able to create extra functions
2020-04-04 16:35:16 +02:00
pictuga
a8a90cf414
morss: move url/options parsing to own function
...
For future re-use
2020-04-04 16:33:52 +02:00
pictuga
bdbaf0f8a7
morss/cgi: fix handling of special chars in url
2020-04-04 16:21:37 +02:00
pictuga
d0e447a2a6
ItemFix: clean up Pocket links
2020-04-04 16:20:39 +02:00
pictuga
e6817e01b4
sheet.xsl: set font to "sans"
...
Browsers don't all have the same default font. Overriding for consistency
2020-04-03 17:47:19 +02:00
pictuga
7c3091d64c
morss: code spacing
...
One of those commits that make me feel useful
2020-03-21 23:41:46 +01:00
pictuga
37b4e144a9
morss: small fixes
...
Includes dropping off ftp support
2020-03-21 23:30:18 +01:00
pictuga
bd4b7b5bb2
morss: convert HTML feeds to XML ones for completeness
2020-03-21 23:27:42 +01:00
pictuga
68d920d4b5
morss: make FeedFormat more flexible with encoding
2020-03-21 23:26:35 +01:00
pictuga
758ff404a8
morss: fix cgi_app silent output
...
*Must* return sth
2020-03-21 23:25:25 +01:00
pictuga
463530f02c
morss: middleware to enforce encoding
...
bytes are always expected
2020-03-21 23:23:50 +01:00
pictuga
ec0a28a91d
morss: use middleware for wsgi apps
2020-03-21 23:23:21 +01:00
pictuga
421acb439d
morss: make errors more readable over http
2020-03-21 23:08:29 +01:00
pictuga
42c5d09ccb
morss: split "options" var into "raw_options" & "options"
...
To make it clearer who-is-what
2020-03-21 23:07:07 +01:00
pictuga
056de12484
morss: add sheet.xsl to file handled by http server
2020-03-21 23:06:28 +01:00
pictuga
961a31141f
morss: fix url fixing
2020-03-21 17:28:00 +01:00
pictuga
a7b01ee85e
readabilite: further html processing instructions fix
2020-03-21 17:23:50 +01:00
pictuga
fbcb23cf88
index.Html: fix meta tag
2020-03-20 20:21:08 +01:00
pictuga
a0e8e84a67
sheet.xsl: mobile-friendly view & url fix
2020-03-20 19:47:43 +01:00
pictuga
a90fd682db
sheet.xsl: show feed url (js-based)
2020-03-20 19:46:20 +01:00
pictuga
2c245f9506
sheet.xsl: improve output formatting
...
Include tags, better CSS
2020-03-20 16:44:49 +01:00
pictuga
3d45451fef
sheet.xsl: improve element content output
2020-03-20 15:44:25 +01:00
pictuga
4d785820d9
feeds: ignore provided stylesheets and add ours
...
Provided sheets usually create errors. Ours is (hopefully) more informative for users not familiar with RSS feeds
2020-03-20 15:32:44 +01:00
pictuga
6a01fc439e
feeds: better handle "empty" datetime
2020-03-20 12:30:42 +01:00
pictuga
d24734110a
morss: convert all feeds to RSS
...
As html feeds might not contain some feeds, leading to data loss
2020-03-20 12:26:34 +01:00
pictuga
a41c2a3a62
morss: fix twitter link detection
2020-03-20 12:26:19 +01:00
pictuga
dd2651061f
feeds & morss: clean up comments/empty lines
2020-03-20 12:25:48 +01:00
pictuga
912c323c40
feeds: make function output more consistent
...
e.g. setters return nothing, getters return sth relevant or None (i.e. no empty strings)
2020-03-20 12:23:15 +01:00
pictuga
5705a0be17
feeds: fix delete/rmv code
2020-03-20 12:22:07 +01:00
pictuga
4735ffba45
feeds: fix .convert auto-convert
...
To fix inheritance loophole
2020-03-20 12:20:41 +01:00
pictuga
08e39f5631
feeds: give simpler name to helper functions
2020-03-20 12:20:15 +01:00
pictuga
765a43511e
feeds: remove unused import
2020-03-20 12:19:08 +01:00
pictuga
5865af64f9
Fix indent output for html/xml
2020-03-20 12:18:13 +01:00
pictuga
ae3bd58386
README: clarify newsreader hook syntax
2020-03-20 11:43:19 +01:00
pictuga
e3be9b5a9e
README: improve layout
2020-03-20 11:41:43 +01:00
pictuga
f8c09af563
README: improve syntax highlighting
2020-03-20 11:33:52 +01:00
pictuga
48beeede97
README: update cache part
2020-03-20 11:27:05 +01:00
pictuga
b3b90c067a
morss.py: remove "useless" functions
...
Have to keep the code clean
2020-03-20 11:19:06 +01:00
pictuga
2b50b7a570
setup.py: update licence info
2020-03-20 11:00:52 +01:00
pictuga
a1c8093b6e
README: improve md layout
2020-03-19 23:06:25 +01:00
pictuga
e681dd56c2
README: reflect new code location
2020-03-19 23:04:21 +01:00
pictuga
5288cc8796
Clean up unused import's
2020-03-19 15:09:53 +01:00
pictuga
d12d44a500
Remove unused hash-bangs
...
Leftovers from debugging
2020-03-19 15:06:28 +01:00
pictuga
ee8c57c1fc
feeds: avoid convert to self
2020-03-19 12:54:04 +01:00