I only get description and can not get full text

Asked by troll jahrakal

heloo Five-filters, i m realy love this tool i think this is the best tool for retrieving content ever had. But i have some problems, i don't know this is bugs or not.

I have sucessfuly install five filters in my hosting, everythins work fine, and i can get full text from several RSS/Feeds successfuly. But when I try to get full text from News RSS BBC, I cannot get full text. I assume I try to get full text from my webhosting with RSS from

- http://newsrss.bbc.co.uk/rss/newsonline_world_edition/business/rss.xml
Or
- http://newsrss.bbc.co.uk/rss/newsonline_world_edition/technology/rss.xml

Int this case I only get description, for examlpe this is the result.
-----------------------------------------------------------------------------------
Colour e-readers shift to video ---> this is article title
09 April 2010 04:09

The document has moved here.
-----------------------------------------------------------------------------------

when I try to print echo $html (in your script) from my webhosting, I get this

302 Found
The document has moved here.

or

Found
The document has moved here.

I have tried in my Local PC (using Xammp/Localhost), but everything work fine without any "The document has moved here." words. I try to get full text from http://fivefilters.org/content-only/ and it work sucess full too.

I think this error because apache configuration from my webhosting. Why this is happen? Please help me to solve my problem?

Question information

Language:
English Edit question
Status:
Answered
For:
Five Filters Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
troll jahrakal (atryoktaviana) said :
#1

sory I forget to put my url here. Here is URL www.youwillget.info , where I get the problem and test your scripts .

Thanks for your scripts..

Revision history for this message
Keyvan (keyvan) said :
#2

Hi there,

The problem has to do with following HTTP redirects. Some web hosts disable redirects, it might be part of an Apache configuration or PHP configuration, I'm not really sure, but the result is that for feed items where URLs redirect to another URL (as in the BBC examples you posted) the redirect does not occur and you get a message such "302, document moved here..." The 302 status code indicates a redirect.

You could ask your host about it and see what they can do. In a future release I might include a workaround to allow redirects to be followed even if the host has disabled it. But that's not really priority right now. :)

Revision history for this message
troll jahrakal (atryoktaviana) said :
#3

can you tell me simple way to fix this problem manually?. =)

Revision history for this message
Keyvan (keyvan) said :
#4

If you're comfortable with PHP, you could try implementing the workaround posted here: http://www.edmondscommerce.co.uk/curl/php-curl-curlopt_followlocation-and-open_basedir-or-safe-mode/

Can you help with this problem?

Provide an answer of your own, or ask troll jahrakal for more information if necessary.

To post a message you must log in.