Can't get RSS feeds to be displayed in a form  | |
July 31st, 2006, 05:49 AM
|
#1 (permalink)
| | Member
Join Date: Jul 2006 Location: 127.0.0.1
Posts: 145
| Can't get RSS feeds to be displayed in a form
Hello everyone,
I created a form with RSS feeds to get displayed when you click 'Get feed' but it's not getting anything back. I don't know what form action I should use for the feeds to be displayed. Is it some certain type of script? Also, what extension should I give the form (.html, .php, .php3) or it doesn't matter? Code: <form action='' method='post'><select name="backend"><optgroup label="Select RSS Feed">
<option value="http://www.microsoft.com/windowsvista/rss.xml">Windows Vista</option>
<option value="http://dsc.discovery.com/news/news.rss">Discovery channel</option>
<option value="http://www.milw0rm.com/rss.php">Milw0rm</option>
<option value="http://news.bbc.co.uk/rss/newsonline_uk_edition/technology/rss.xml#">BBC News</option>
<option value="http://addict3d.org/backend_news.php">addict3d</option>
<option value="http://www.astalavista.com/feed/news_headlines_en.xml">Astalavista Security News</option>
<option value="http://www.us-cert.gov/channels/techalerts.rdf">US-CERT Technical Cyber Security Alerts</option>
<option value="http://security-protocols.com/backend.php">security-protocols</option>
<option value="http://nvd.nist.gov/download/nvd-rss.xml">National Vulnerability Database</option>
<option value="http://www.open-security.org/adv.rss">Open Security Group</option>
<option value="http://securitydot.net/rss/news.xml">SecurityDot news</option>
<option value="http://securitydot.net/rss/vulnerabilities.xml">SecurityDot vulnerabilities</option>
<option value="http://www.datastronghold.com/index2.php?option=com_rss&feed=RSS1.0&no_html=1">Data strong</option>
<option value="http://edge.i-hacked.com/feed/">i-hacked</option>
<option value="http://securitydot.net/rss/exploits.xml">Security Dot</option>
<option value="http://www.infoworld.com/rss/news.xml">Info world Top news</option>
<option value="http://weblog.infoworld.com/techwatch/rss.xml">Info world tech</option>
<option value="http://www.vnunet.com/feeds/rss/latest/all/news">vnunet news</option>
<option value="http://www.theregister.co.uk/headlines.rss">The Register</option>
<option value="http://www.osvdb.org/backend/rss.php?n=10">OSVDB</option>
</select><input type='submit' value='Get Feed'></form> Thanks.  |
| |
July 31st, 2006, 06:11 AM
|
#2 (permalink)
| | Ultimate Member
Join Date: Oct 2001 Location: Sweden
Posts: 1,748
|
Well you don't have a form action. Without it, the form does nothing. |
| |
July 31st, 2006, 03:25 PM
|
#3 (permalink)
| | Real gangstas sip on Yacc
Join Date: Oct 2001 Location: Suckas-ville
Posts: 4,552
|
Actually without an action it posts back onto itself.
What are you trying to do? Pipe the feeds? Redirect to the feeds?
__________________
Signatures blow hard
If your signature contains an ad of any kind, congratulations, you're on my ignore list.
|
| |
July 31st, 2006, 07:43 PM
|
#4 (permalink)
| | Member
Join Date: Jul 2006 Location: 127.0.0.1
Posts: 145
| Quote: |
Originally Posted by Agent_Embryo Well you don't have a form action. Without it, the form does nothing. | No duh, it does nothing. That didn't answer my question. My question is what form action do I use? I already know without one the form does nothing. Quote: |
Originally Posted by jkrohn Actually without an action it posts back onto itself.
What are you trying to do? Pipe the feeds? Redirect to the feeds? | Pipe the feed, what do you mean?
I'm trying to get the feeds to be displayed on my own website when you click the 'Get feed' button after you've chosen which RSS news option you wanna get, then people to be able to click on them and redirect them to whichever website containing the RSS news. You understand what I'm trying to say here? |
| |
August 1st, 2006, 03:56 AM
|
#5 (permalink)
| | Member
Join Date: Jul 2006 Location: 127.0.0.1
Posts: 145
|
Wow, any programmers in here that actually know I'm talking about or that is all that I am gonna get back as a response that I don't have a form action and that's the reason it doesn't work?
C'mon, what goes in there. Is it like a cgi script or something? |
| |
August 1st, 2006, 05:43 AM
|
#6 (permalink)
| | Ultimate Member
Join Date: Oct 2001 Location: Sweden
Posts: 1,748
|
Sorry, missed some important lines in your first post about the form action. You will need some sort of script, either JavaScript or a server-side script in PHP or ASP. Another option is to use a service to display the feeds.
I can't tell you exactly how to do it, but here's some reference: http://www.rss-specifications.com/di...-rss-feeds.htm |
| |
August 1st, 2006, 05:53 AM
|
#7 (permalink)
| | Member
Join Date: Jul 2006 Location: 127.0.0.1
Posts: 145
| Quote: |
Originally Posted by Agent_Embryo Sorry, missed some important lines in your first post about the form action. You will need some sort of script, either JavaScript or a server-side script in PHP or ASP. Another option is to use a service to display the feeds.
I can't tell you exactly how to do it, but here's some reference: http://www.rss-specifications.com/di...-rss-feeds.htm | Ok, thanks, that link helped out alot. That's all I need. I'll add a script into the form action just as I thought and give it a shot and see how it works. |
| |
August 1st, 2006, 06:49 AM
|
#8 (permalink)
| | Newbie
Join Date: May 2004 Location: Philippines
Posts: 3,894
|
__________________
I miss Dimebag Darrell
|
| | | Thread Tools | Search this Thread | | | | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Most Active Discussions | | | | | Recent Discussions  | | | | | |