-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error "Applying Character set: utf-8" for theguardian.com #157
Comments
This is normal behavior as it's the way the debugging logs to the TT-RSS system log by throwing a E_USER_NOTICE error and it's not a real error. Related enhancement issue #122 |
Thanks, that clears up the logging issue, but now it appears that feediron is not being applied when the updater runs. I started from scratch with a blank database, added the plugin and my settings, then imported my feeds. After the update ran nothing was filtered by feediron. If I go to the Feed Debugger, check Force Refresh, and then Continue, I can see lines like
and the relevant feed items are filtered according to the config. Is there a reason this would work from both the testing tab and when forcing a refresh, but not during the regular feed updates? |
Feediron always runs for all feeds as it checks to see if the article url matches the config url. The only reason it won't replace the feed body is if it can't match the url link to the article with the url in the config. I'm using very simple text matching to do this so keep it as simple as possible i.e. don't use Your main config should look something like this. {
"theguardian.com":{
"type": "xpath",
"xpath": [
"article"
]
},
"debug": false
} The only time I've encountered issues is when the site uses a service like feedburner that obfuscates the original article url. Using the plugin As a side note: I didn't know the feed debugger even existed... well that's embarrassing and useful Edit: checking a feed I use Feediron for the average processing time is around 0.3 - 0.5 (sec) where as a feed it's not running on is around 0.0007 (sec) |
This ended up being due to incorrect permissions, I think. I'm running ttrss in docker containers on AWS, and mounted in the plugin directory as a volume from the host. After updating the scripts to clone feediron in the same way as the ttrss code itself, everything is working perfectly. |
I'm seeing this error in the System Log when running for theguardian.com:
(full log truncated)
This occurs while pulling feeds during the usual update, and also while running in the FeedIron Testing tab.
This seems to occur regardless of the config, but the simplest one I've used to cause this is:
It seems to happen against any URLs appearing in the guardian feed, but one example is: https://www.theguardian.com/australia-news/2020/aug/16/coalition-must-ensure-australia-wont-be-at-end-of-queue-for-coronavirus-vaccine-labor-says
I'm running the latest versions:
tt-rss: v20.08-5497a137d
feediron: latest master (51b3446)
The text was updated successfully, but these errors were encountered: