I am frequently getting the problem of “unable to retrieve full-text content” for our news items.
Sample URL: http://hosted2.ap.org/atom/APDEFAULT/347875155d53465d95cec892aeb06419
I have purchased the Full-Text RSS v3.4 for personal use. Ratio of getting the “unable to retrieve full-text content” is 4/10.
Can anyone help me to sort out?
This appears to be an AP issue, rather than Full-Text RSS. For example, when I checked just now the top two items don’t load at all in my browser (I clicked the links from the original feed):
So you need to contact ap.org to find out why their feed seems broken - if you do, you might also want to point out that their feed fails the feed validator test - https://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fhosted2.ap.org%2Fatom%2FAPDEFAULT%2F347875155d53465d95cec892aeb06419%2Fuid-a66c4e26ea954f77ba43e60e54062d09
As far as Full-Text RSS is concerned, you can pass a parameter to ensure entries which cannot be extracted are removed from the output. This of course may or may not be what you want. If you do want to remove such entries, you can use the field on the form which says remove items if extraction fails. Or you can pass exc=1 in the URL querystring.
Hope that’s some help.
Thanks Keyvan for your reply. Could you guide me on how to pass a parameter and skip the post which are not able to fetch the data?
There are two ways to do this:
When you’re creating a fee from the form, there’s a field labeled ‘If extraction fails’. One of the options in that field is ‘Remove item from feed’. If you select that, entries which currently return ‘Unable to retrieve full-text content’ will simply be removed from the output feed.
The same thing can be achieved by changing the URL generated by Full-Text RSS. It usually looks like …makefulltextfeed.php?url=… you can add the parameter exc=1 so the URL will look like …makefulltextfeed.php?exc=1&url=… this should have the same effect.
Hope that helps.