Welcome to WebmasterWorld Guest from 126.96.36.199
Forum Moderators: phranque
I am trying to insert some links (to different websites) into my RSS feed. I don't want the "news items" themselves to be links, however; instead, I want to have a "read more" link *below* each news item that will link to a page of archived news items.
I can't seem to find a simple answer anywhere - maybe there is none?
Any help you could provide would be greatly appreciated.
<title>This is headline one</title>
<title>This is headline two</title>
I've tried using the <link> tag, but it doesn't seem to make the links "clickable" in my browser OR the aggregator I am using to preview my feed. (I'm using a stylesheet to format the XML files so that they'll fit with the look of my site when they are pulled up by the browser.)
Here is what I am working with: <snip>
Is it going to be impossible for me to get clickable links in both browsers and RSS aggregators? At this point, I would settle for either...I'm pulling my hair out here. :/
[edited by: Woz at 4:42 am (utc) on June 17, 2004]
[edit reason] No URLs please, see TOS#13 [/edit]
I am sending you a link to it via sticky mail. I is currently used by people from MyYahoo and other services. It is also used by some private websites.
Again, it is the responsibility of the aggregator to utilize the provided link element. The RSS feed is supposed to provide information with meta data so that the consuming application can format it the way that best suits it.
Do you have any thoughts on how I might make the XML files as pulled up by the browser include clickable links? I've tried inserting HTML tags (<a href...>), but the browser won't read them since they're in the content of an XML file, I guess. I now have the links working OK within my aggregator.
I found this article (http://developer.apple.com/internet/webcontent/xmltransformations.html), but it seems awfully complicated.
Do you have any thoughts on how I might make the XML files as pulled up by the browser include clickable links?
This is a tough issue. If you are readily giving the information away, and you don't seriously mind that some users won't include the links, then just use RSS as you are and hope for the best.
They are free to the websites that use them. What I get out of it is name recognition and branding.
I actually do plan to have the feed displayed in an iframe (below the calendar) - how would this affect my ability to have clickable links?
how will loading the XML files into an iframe turn them into HTML files?
Sorry I wasn't more clear. It doesn't. What I meant was, if you know the content will be displayed in an IFrame, then you might consider not using RSS/XML at all. When the user clicks the calendar, that link can point to a standard HTML (or php/asp) page.
If you use your own code to create your RSS directly on your site, then you can also create a file to consume your own RSS and deliver it in the html format you want. That is what would go into your iframe. That way the RSS is still available for other uses.