Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Ampersand Substitute?

Jake — Jul 05, 2017 03:59PM CEST

I've recently purchased a fivefilters premium package and I'm a very contented customer.

I use ff-premium with my legacy PDAs since their browsers can't function on today's web--but I'm having trouble getting Egress RSS Reader to handle the ampersands in a ff-premium feed (the direction to key, number of articles, etc).

The ampersand crashes the opml file and I was wondering if there was other syntax that might work as a substitute. (other parts of ff syntax work without complaint in Egress).

An obscure question to be sure :) and thanks again for making a valuable product.


5 Community Answers

Keyvan Minoukadeh - Jul 05, 2017 at 09:06PM CEST

FiveFilters.org Agent

Hi Jake, thanks for buying the premium plan. I've never used Egress before, but happy to try and debug this for you. Could you possibly provide a little more information. A screenshot of what's going wrong, maybe, and a URL to a web page which causes this behaviour after it's passed through Full-Text RSS.

Hope we can find a fix for it.

Thanks, Keyvan from FiveFilters.org

rated : -2 Up Down

Jake - Jul 06, 2017 at 01:25PM CEST

Hi, Keyvan,

Many thanks for your quick reply.

I can't show a screenshot because the ampersand simply wipes out the Egress RSS Reader opml file. But let me show the key part of the opml with working feed vs a non-working feed:

<outline text="NEWS" filespec="NEWS">
<outline text="REUTERS" filespec="REUTERS" xmlUrl="http://ftr.fivefilters.org/makefulltextfeed.php?url=http%3A%2F%2Ffeeds.reuters.com%2Freuters%2FtopNews" type="rss"/>

Obviously, this is generated with ff-non-premium and the only way I could get even this to work was to remove the &max=3 from this original try:

http://ftr.fivefilters.org/makefulltextfeed.php?url=http%3A%2F%2Ffeeds.reuters.com%2Freuters%2FtopNews&max=3

Dropping &max=3 still generates the standard 3 feeds in fivefilter's basic fulltext service. The ampersand appears to be the problem.

The same feed sent through the ff premium service:

xmlUrl="http://ftr-premium.fivefilters.org/makefulltextfeed.php?url=feeds.reuters.com%2Freuters%2FtopNews&amp;key=2369&amp;hash=2febb9ee3a0de52398b94cc46d9cdf92c341a668&amp;max=10&amp;links=preserve&amp;exc=1"
will blow out the opml file.

So I was hoping that the premium feed could be rewritten using syntax other than an ampersand.

But amerpsands may be an integral part of the feed and have no substitute.

Thanks again,
Jake

rated : -1 Up Down

Keyvan Minoukadeh - Jul 06, 2017 at 01:36PM CEST

FiveFilters.org Agent

Hi Jake, thanks for providing more info. I assume Egress is generating the OPML file. In which case it should be encoding the ampersands so it doesn't cause problems with parsing (it looks correct in your example). If it still can't handle this, however, could you perhaps try using a URL shortener to see if this gets around the problem. For example, try putting that long URL from our premium service into tinyurl.com and use the URL it generates with Egress, in this case http://tinyurl.com/y9l2a9wc

If Egress follows HTTP redirects, this should work. But give it a try and let us know how you get on.

rated : 1 Up Down

Jake - Jul 06, 2017 at 03:28PM CEST

Your solution works! Egress RSS Reader brought down all 10 Reuters feeds without complaint. Thank you, thank you.

As a test, I set up another ff-premium feed (with my ff subscription key), ran that generated key through tinyurl.com and it worked as well.

I'm amazed and will recommend your service/assistance on all the legacy sites.

[Does do these tinyurls have a shelf-life?]

Again, thank you for helping resurrect a 1999 HP Jornada 720,
Jake

rated : -1 Up Down

Keyvan Minoukadeh - Jul 07, 2017 at 03:35PM CEST

FiveFilters.org Agent

Great to hear, Jake! And thanks for the kind words.

TinyURL.com has been around for a long time and they state the URLs don't expire. So as long as the site continues to operate, you should be fine.

rated : -1 Up Down

Post Your Public Answer