|
|
|||||||||
|
|||||||||
|
|||||||||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
||||
|
||||
|
Help! I can't figure out what I am doing wrong with content feeds.
I am just trying to add a content feed to my website, but the feeds aren't appearing. Does it matter what file extension the page is saved as? I tried both .php and .htm
Here is my code: <table width="90%" border="0" cellpadding="2"> <tr> <td>Feed #1</td> <td><img src="http|//www.cnet.com/i/ne/gr/newslogo.gif"></td> </tr> <tr> <td><script language="JavaScript" src="http://www.growinglifestyle.com/h46/improve/index.rss"></script></td> <td><script language="JavaScript" src="http://export.cnet.com/export/feeds/news/personal_technology/rss/1,11333,00.xml"></script></td> </tr> </table> Any help would be much appreciated. Thanks! |
|
#2
|
|||
|
|||
|
it shouldnt matter what extension you use. it seems to me that the content feeds arnt working????
place the following script in a html doc, just by its self, and see if it comes up, if nothing comes up then the .rss file either doesnt work, or doesnt exist <script language="JavaScript" src="http://www.growinglifestyle.com/h46/improve/index.rss"></script> hope that clears it up for you |
|
#3
|
||||
|
||||
|
Yah, it isn't working. I tried a couple of other newsfeeds and they don't seem to be working either. I get the error "done, but with errors on page" down at the bottom right corner of IE. Do you have a link to a feed that you know is definitely working that I can try?
|
|
#4
|
|||
|
|||
|
devarticles does have a rss feed somewhere, but im not too sure of the location. let me have a look for you
|
|
#5
|
||||
|
||||
|
Thanks Ben.
|
|
#6
|
||||
|
||||
|
I was able to get this news feed to work without any problem:
<script language="JavaScript" src="http://www.webfeeds.scotsman.com/feeds/javascript/feed.cfm?"></script> Could it be that I can only use .cfm feeds and not .rss? |
|
#7
|
|||
|
|||
|
the extension is superfluous really, they will all use RSS 1.0.
ive got 3 channels on my site, they all produce xml which is then parsed by my xml parser. one has an rss extension, one is .pl and the other .php, so its not really relevant, its just a page which calls the xml file i presume and rss is the method in which its....delivered? or something. I havent looked very deep into this, are there similarities with soap? some content feeds are erratic and some arent, thats probably the issue. i think some require that you cache the information locally each day in order to ease any strain from requesting stuff remotely. |
|
#9
|
||||
|
||||
|
Thank you Matt. Yes, it seems that my main problem was an incredible string of bad luck in selecting content feeds. I have found numerous feeds that work just fine now.
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > Programming Tools > Help! I can't figure out what I am doing wrong with content feeds. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|