pictuga
1fa8c4c535
Remove cleanXML()
...
This function is way too strong, and no longer needed (even for the targeted feed). It lead to other bugs with other feeds, where needed spaces were stripped.
10 years ago
pictuga
0718303eb7
Use ' instead of " when possible
10 years ago
pictuga
7275bb1a59
Better content insertion
...
Also takes care of description, by creating one, when missing.
10 years ago
pictuga
054f5c0846
Detect provided content with word count
...
This is instead of character count.
10 years ago
pictuga
7fa183d713
Change morss.py to use feeds.py
...
No other changes should appear in this commit
10 years ago
pictuga
8ac7d8b282
Add feeds.py
...
This is a huge change. Feed parsing is now done in a separate file, much cleaner. The code of the lib tends to repeat itself a lot though. It should be possible to improve it. Code should be more stable.
10 years ago
pictuga
6e891ef6ff
Nicer link display in readme
10 years ago
pictuga
981e83fd1e
Add link to online test version
10 years ago
pictuga
cf3934a513
Change http output mimetype to xml
10 years ago
pictuga
1f4c219880
Common code for url/options handling
10 years ago
pictuga
89662ccbae
typo in readme
10 years ago
pictuga
16f2e3b4c3
todo and newsreader hook update in readme
...
Updated liferea use to reflect code changes. Link to morss.it as live "preview". Added a todo. Added dependencies list.
10 years ago
pictuga
9ad9ffaf91
Use proper markdown for links in readme
10 years ago
pictuga
d2418a47c2
Add support for reddit.com feeds
...
The content of the linked article is used for the content. The original content (with a link to comments) is still available in the "description" of the feed item.
10 years ago
pictuga
f0b237364f
Better annotation of feedsburner/feedsportal code
10 years ago
pictuga
0978e76356
str.decode() within EncDownload()
10 years ago
pictuga
89354e1528
Use file's built-in readlines() to split file
10 years ago
pictuga
bbf5c92ba2
Fix lenHTML() with empty string
10 years ago
pictuga
e05d1c9deb
Replace uppercase title with "title-case"
10 years ago
pictuga
f09dfbacf5
Warning in README: no http server provided
10 years ago
pictuga
a8feac9811
Detail MAX settings in README
10 years ago
pictuga
b78f0bfba5
Improve options and limits
...
New limits are possible: time limit, max number of item fetched, and max number of item taken from cache. Fill third argument is now Fast=True, which is self-explicit. (Complexity of the changes made separate commits impossible).
10 years ago
pictuga
2a71fe07f2
Improve Cache code
...
Removed _new flag. Slightly more stable and cleaner.
10 years ago
pictuga
bf647ba5f8
Make Fill return True when it had done sth useful
10 years ago
pictuga
9694a31052
Add 'feedurl' argument to Fill
...
Was needed for commit f3c2c34
10 years ago
pictuga
8e2aab55e7
Check url before looking for provided content
...
Also use lenHTML() function defined a lately
10 years ago
pictuga
85e40cde4e
Check article length is big enough
...
Avoids replacing rather useful descriptions with empty string
10 years ago
pictuga
222b1369e5
Support for relative urls in feed
10 years ago
pictuga
d88719c87f
Use urlparse library to check feed urls
10 years ago
pictuga
1506a5c0cd
Fix string output in XMLMap
10 years ago
pictuga
adebe23232
Better logging when running as Liferea hook
10 years ago
pictuga
32514941b4
Try to improve support for bogus xml feed
10 years ago
pictuga
b34ecb8ad3
Fix cache crash with one entry with empty value
10 years ago
pictuga
e518f2cced
Better timeout error handling
...
For older versions of Python
10 years ago
pictuga
03501edccd
Add/fix extra modes
...
'progress' mode now works on Chrome. 'cache' mode only relies on cache to load faster.
10 years ago
pictuga
65090870ac
Remove temp debug print statement
10 years ago
pictuga
e77278dda9
Remove leftover SERVER var from source code
10 years ago
pictuga
949582ba19
Add progress view.
10 years ago
pictuga
5ee5dbf359
Cache http errors to save time.
10 years ago
pictuga
2f1ae1ce91
Use less suspicious user-agents.
10 years ago
pictuga
0a97a2a2b5
Support for combined feedsportal and feedburner.
10 years ago
pictuga
93b098ab11
Added http timeout.
10 years ago
pictuga
9f175994c6
Fix regex implementation.
10 years ago
pictuga
ee08cccf9c
Updated README since SERVER var drop.
10 years ago
pictuga
93f971896b
Improved feedsportal url recognition.
10 years ago
pictuga
fa7cd957df
Save Cache when it's new.
...
So as to avoid crashes on first fetch.
10 years ago
pictuga
ca90d082c3
Library import list made cleaner.
10 years ago
pictuga
1480bd7af4
Auto-detection of server-mode, better caching.
...
The SERVER variable is no longer needed. RSS .xml file is now cached for a very short time, so as to make loading faster, and hopefully reduce bann a little. Use a more common User-Agent to try to cut down bann. Added ability to test whether a key is in the Cache.
10 years ago
pictuga
a616c96e32
Removed another unused var.
10 years ago
pictuga
f95c5dcf0d
Fixed caching.
10 years ago