FeedForAll Forum Index ?
?Home?????FAQ????? Search ?????Register ?????Profile? ????Log in
?trying to put rss on site like in Example 3 in stiky notes View next topic
View previous topic
Post new topicReply to topic
Author Message
tdawool



Joined: 22 Oct 2014
Posts: 25

PostPosted: Wed Oct 22, 2014 6:50 am Reply with quoteBack to top

hi
i am trying to put rss on site like in Example 3 in sticky notes
but i keep failing in that ,
like i have uploaded rss2html.php
i have this temple [url]http://tdawool.esy.es/sample-template.html[/url]
and the rss feed is here [url]http://www.investing.com/rss/news_1.rss[/url]
and i aded this
[code]

[/code]
in that file [url]http://tdawool.esy.es/d.html[/url]
but nothing happend i dont have any news in my site
so any help will be welcome
thank's and have a nice day
View user's profile
Tech Support



Joined: 27 Aug 2004
Posts: 2692

PostPosted: Wed Oct 22, 2014 9:57 am Reply with quoteBack to top

It looks like you're getting a 403 Forbidden error whenever the script tries to execute. I took your provided data and attempted to view the output with this URL statement: http://tdawool.esy.es/rss2html.php?TEMPLATE=sample-template.html&XMLFILE=http://www.investing.com/rss/news_1.rss

It's very, very brief but a 403 error shows just before it redirects back to the hosting site's URL.

Here is a good resource for information on 403 errors and how to resolve them:

http://www.checkupdown.com/status/E403.html

_________________
Create RSS Feeds
Audio Recording and Editing
View user's profile
tdawool



Joined: 22 Oct 2014
Posts: 25

PostPosted: Wed Oct 22, 2014 2:21 pm Reply with quoteBack to top

OK, thank you "Tech Support"
you said :"It's very, very brief but a 403 error shows just before it redirects back to the hosting site's URL. "
that means it works ,
i just have to ask the person responsible for security of the web server to find a solution for it , if there is any .
and another question :
is there another way to bring rss to my site that i missed reading it in that site?
thank you very much
View user's profile
Tech Support



Joined: 27 Aug 2004
Posts: 2692

PostPosted: Wed Oct 22, 2014 2:28 pm Reply with quoteBack to top

I'm not sure I understand your question. Are you only looking to bring in rss items that you missed reading to the site?

_________________
Create RSS Feeds
Audio Recording and Editing
View user's profile
tdawool



Joined: 22 Oct 2014
Posts: 25

PostPosted: Wed Oct 22, 2014 2:47 pm Reply with quoteBack to top

thank's for the fast replay
I meant if there other ways ?
thank's
View user's profile
Tech Support



Joined: 27 Aug 2004
Posts: 2692

PostPosted: Wed Oct 22, 2014 2:56 pm Reply with quoteBack to top

Aside from the examples listed, there isn't another way that I know of.

_________________
Create RSS Feeds
Audio Recording and Editing
View user's profile
tdawool



Joined: 22 Oct 2014
Posts: 25

PostPosted: Wed Oct 22, 2014 3:08 pm Reply with quoteBack to top

thank you
View user's profile
tdawool



Joined: 22 Oct 2014
Posts: 25

PostPosted: Thu Oct 23, 2014 4:41 am Reply with quoteBack to top

ok this is what i got from my host

[i]
Error 404 means that webpage is not existing, are you sure that link is ok ?

BecauseI can open: http://www.investing.com/rss/news_1.rss

but this link:
http://tdawool.esy.es/rss2html.php?TEMPLATE=sample-template.html&;XMLFILE=http://www.investing.com/rss/news_1.rss
I cant open, so please check is there any spell problem in that link.

Should you need more information, please don't hesitate to contact us.
[/i]

so now what could be wrong because i am having hard time to locate the problem
any help would be appreciated
thank's
View user's profile
Tech Support



Joined: 27 Aug 2004
Posts: 2692

PostPosted: Thu Oct 23, 2014 7:54 am Reply with quoteBack to top

There's a typo in the URL statement:
http://tdawool.esy.es/rss2html.php?TEMPLATE=sample-template.html&;XMLFILE=http://www.investing.com/rss/news_1.rss

I know it may seem inconsequential but there's a ; before the XMLFILE= reference and that ; would prevent the line from executing properly.

This is the link that has each section formatted properly and yields the 403 error:
http://tdawool.esy.es/rss2html.php?TEMPLATE=http://tdawool.esy.es/sample-template.html&XMLFILE=http://www.investing.com/rss/news_1.rss

_________________
Create RSS Feeds
Audio Recording and Editing
View user's profile
tdawool



Joined: 22 Oct 2014
Posts: 25

PostPosted: Thu Oct 23, 2014 11:42 am Reply with quoteBack to top

the link still leads for the error 404 but in my when i opened the "my topic"
there was an error 403 and now 404
is 404 means something else?
ok thanks i will take my time to figured it out
View user's profile
Tech Support



Joined: 27 Aug 2004
Posts: 2692

PostPosted: Thu Oct 23, 2014 11:56 am Reply with quoteBack to top

I'm not sure where the 404 is coming from because I haven't seen it. I can go to each of the three separate files in question without the 404 error:

http://tdawool.esy.es/rss2html.php
http://tdawool.esy.es/sample-template.html
http://www.investing.com/rss/news_1.rss

and if I put them in the query string for the full URL, it flashes the 403 Forbidden error before redirecting to the hosting site's main page.

_________________
Create RSS Feeds
Audio Recording and Editing
View user's profile
tdawool



Joined: 22 Oct 2014
Posts: 25

PostPosted: Thu Oct 23, 2014 3:52 pm Reply with quoteBack to top

why it shows error and some code when going
http://tdawool.esy.es/rss2html.php
what does the error code means
View user's profile
Tech Support



Joined: 27 Aug 2004
Posts: 2692

PostPosted: Fri Oct 24, 2014 10:32 am Reply with quoteBack to top

After reviewing more information on the 403 error with relation to PHP scripts and RSS feeds, we think problem is likely that your webhost is being denied access to the rss feed file by investing.com

There is a possible way to confirm this if you have a certain level of access with your webhost:

1) In Windows on your system, run a Command Prompt.

2) In the Command prompt, type the following and hit enter after each line:
telnet tdawool.esy.es
enter your username
enter your password
wget www.investing.com/rss/news_1.rss

or, if your webhost uses SSH, these would be the commands to use:

telnet tdawool.esy.es
ssh
enter password
wget www.investing.com/rss/news_1.rss

This will only work on Unix style web hosts, and if your webhosts allow their users to telnet (or ssh) into it.

If it is a windows web server and you have remote access to it, you could simply run a browser from the webserver itself and try to access the investing.com rss feed file.

_________________
Create RSS Feeds
Audio Recording and Editing
View user's profile
tdawool



Joined: 22 Oct 2014
Posts: 25

PostPosted: Fri Oct 24, 2014 2:54 pm Reply with quoteBack to top

C:\>telnet tdawool.esy.es
Connecting To tdawool.esy.es...Could not open connection to the host, on port 23
: Connect failed

C:\>
what doesw that mean i have to open port 23 in my router ? or i think that i got to ask my host to open port 23 ?
thank you :)
View user's profile
Tech Support



Joined: 27 Aug 2004
Posts: 2692

PostPosted: Fri Oct 24, 2014 2:55 pm Reply with quoteBack to top

It means the host hasn't allowed you that level of access to the web server. They may or may not allow it if you request it, though.

Do you have direct access to the web server?

_________________
Create RSS Feeds
Audio Recording and Editing
View user's profile
Display posts from previous:?? ? ?
Post new topicReply to topic


?Jump to:? ?



View next topic
View previous topic


Powered by phpBB ? 2001, 2002 phpBB Group :: FI Theme