Page 2 of 2

Re: Spiegel RSS feed no longer working

Posted: 13 Nov 2013, 13:52
by reibuehl
xaberus, do I have to separate your code from the one that fixes the GUIDs with a comma or do I have to put them into the pair of square brackets? I am new to ff_feedcleaner and don't know how to add a second configuration.

Re: Spiegel RSS feed no longer working

Posted: 14 Nov 2013, 01:01
by xaberus
reibuehl wrote:xaberus, do I have to separate your code from the one that fixes the GUIDs with a comma or do I have to put them into the pair of square brackets? I am new to ff_feedcleaner and don't know how to add a second configuration.


I'll quote:https://github.com/wltb/ff_feedcleaner
Basically, the configuration data consists of an unnamed JSON array that contains some unnamed JSON objects.

So jeah, you will need to merge my part with the guid part and separate them with a comma :-)

Code: Select all

[
   {
      "URL": "spiegel.de",
      "type": "xpath_regex",
      "xpath": "//item/guid",
      "pattern": "/.+/",
      "replacement": ""
   },
   {
      "URL": "spiegel.de",
      "type": "xpath_regex",
      "xpath": "//item/link",
      "pattern": "[(http://www.spiegel.de)#ai=([0-9]+)&.*]",
      "replacement": "$1/artikel/a-$2.html"
   }
]

Re: Spiegel RSS feed no longer working

Posted: 14 Nov 2013, 11:40
by reibuehl
Works perfect! Thanks very much!

Re: Spiegel RSS feed no longer working

Posted: 14 Nov 2013, 16:45
by kt1
Since today it seems to work again with the original Spiegel Online feeds - without any workaround.

Re: Spiegel RSS feed no longer working

Posted: 14 Nov 2013, 16:56
by henningspruth
Could it be that they fixed their seed? I have not applied any workarounds on my tt-rss installation, but articles have started to appear again.

Re: Spiegel RSS feed no longer working

Posted: 14 Nov 2013, 21:55
by vilain
Most likely they fixed it.

I have a science feed that occasionally shows up as invalid because of spurious characters in the feed. They go away after a couple days.

Or the brain-dead webmaster who put links to the RSS-feed that pointed to itself for Cringley's site. Eventually, emailing them that it was broken got it fixed.