WordPress.org

Ready to get started?Download WordPress

Forums

RSS Link Question (24 posts)

  1. DavidDeCristoforo
    Member
    Posted 9 years ago #

    I see that many sites now have RSS links visable on their home pages. For example, this one at the top of Apple's support page:

    http://www.apple.com/support/

    When you click this link you see a list of feeds. But when you click the links for the individual feeds, what you see is just text. Is the idea that people will copy the URL's from the text and enter this in their reader?

    Thanx

    DD

  2. Avenir
    Member
    Posted 9 years ago #

    I think people are supposed to copy the URI's of the links from page with all the XML buttons. When you view the source on one of those pages with all the URI's displayed as text, you can see the XML and RSS code, so that tells you that those pages are the feeds themselves.

    I hope that made sense.

  3. The new feed: protocol is supposed to launch the reader's default new reader and either subscribe them to the feed or check it for updates. If you'd like, you can add feed: in front of your RSS URLs to accomplish this.

  4. DavidDeCristoforo
    Member
    Posted 9 years ago #

    Manx, I'm not sure what you mean but It would be cool to have some way for people who want to subscribe to the RSS from our blog to do so without having to go through the process of copying and pasting the URL.

    Thanx
    DD

  5. Assuming for feed is linked to http://www.domain.com/feed/, you can change the link to feed:http://www.domain.com/feed/ . This new link is supposed to launch the reader's default new reader and either subscribe them to the feed or check it for updates.

    If you give me a link to you blog, I'll do my best to be more detailed.

  6. DavidDeCristoforo
    Member
    Posted 9 years ago #

    I see...that would be the ticket. Here's the site:

    http://www.naturalfoodworks.net

    Thanx
    Thanx
    Thanx

    DD

  7. In your sidebar, add:

    <li id="subscribe"><?php _e('Subscribe'); ?>
    <ul>
    <li><a href="feed:<?php bloginfo('rss2_url'); ?>" title="<?php _e('Syndicate this site using RSS'); ?>"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
    <li><a href="feed:<?php bloginfo('comments_rss2_url'); ?>" title="<?php _e('The latest comments to all posts in RSS'); ?>"><?php _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
    </ul>
    </li>

  8. DavidDeCristoforo
    Member
    Posted 9 years ago #

    Sweeeet! Thanx 'manx. I'm working on this over the weekend....letcha know...

    Thanx
    DD

  9. DavidDeCristoforo
    Member
    Posted 9 years ago #

    OK got this uploaded but when I click the link I get:

    (in Safari) Safari can’t open “feed:http://www.naturalfoodworks.net/wp-commentsrss2.php� because Mac OS X doesn’t recognize Internet addresses starting with “feed:�

    (in Firefox) feed is not a registered protocol

    In addition, If I hover over the "rss" text in the link a question mark appears.

    Any ideas about how to "fix" this?

    Thanx
    DD

  10. rankbeginner
    Member
    Posted 9 years ago #

    I fixed this on my webpage yesterday. ... Just delete

    "feed:"

    ... and your result will be:

    "http://www.naturalfoodworks.net/wp-commentsrss2.php"

    Try that and see if it works.

    --RB

  11. Avenir
    Member
    Posted 9 years ago #

    That's just a matter of going into the proper theme file (probably sidebar.php or footer.php) and editing out the feed: in front of the RSS links.

  12. rankbeginner
    Member
    Posted 9 years ago #

    Hi again ... I shouldmake my previous post clearer ...

    Just delete feed:

    from the php code, both times where it appears. ... Mine appeared in the sidebar file. (sidebar.php)

    RB

  13. DavidDeCristoforo
    Member
    Posted 9 years ago #

    That took care of part of the problem. The link looks like this:

    Subscribe
    RSS
    Comments RSS

    If you hover over either the "RSS" on the 1st line or the "RSS" after the word "comments"
    the cursor becomes a question mark, even tho when you click the link seems to work.

    Thanx

    DD

  14. Avenir
    Member
    Posted 9 years ago #

    Oh, well that's just because RSS is marked as an acronym and the CSS stylesheet you're using has specified that when the mouse hovers over an acronym, the cursor will change to the 'help' cursor. This is not a problem with anything in your files, just a stylistic choice made by whoever designed the theme you're using.

    If you'd like to remove it, open the style.css file for the theme you're using and then search for the part where the 'acronym' and 'abbr' tags are defined. Remove anything that says cursor: help; in those definitions and then cursor will be a normal pointer when hovering over the link.

  15. DavidDeCristoforo
    Member
    Posted 9 years ago #

    Thanx. Off to the css file then. Now, here's where I reveal my ignorance. What exactly does this link do? How does clicking on it subscribe the "clickor" to my RSS feed?

    Thanx
    Again
    DD

  16. Avenir
    Member
    Posted 9 years ago #

    It won't. Clicking on the RSS feed will just bring up the raw XML file that powers your RSS feed. The clicker will need to have a feed reader program installed on his computer and then will need to add the link to your feed to their feed reader's subscription list. Then the reader will pull the latest entries from your site.

    Your site should also have 'auto discovery' links in the header file that allow programs like feed readers and browsers like Firefox to automatically detect the location of your feed and pull it out.

  17. rankbeginner
    Member
    Posted 9 years ago #

    Avenir:

    Could you please show us the code that will tell us if our header files have the "auto discovery' links? ... Thanks.

    DaveDe: ... There are various ways to subscribe to RSS feeds.

    In Bloglines, for example, the "clickor" can subscribe to your feed by simply typing in your RSS url
    http://www.yourdomain.com/wp-rss2.php
    into a "subscribe" box.

    Other RSS readers are even simpler. For example, with Sage RSS reader, a plug-in for Firefox Browswer, you just drag the "favicon" beside the link (http://www.yourdomain.com/wp-rss2.php)
    into the left-hand column of links, and that does the job.

    --RB

  18. DavidDeCristoforo
    Member
    Posted 9 years ago #

    According to "macmanx" it should:

    "Assuming for feed is linked to http://www.domain.com/feed/, you can change the link to feed:http://www.domain.com/feed/ . This new link is supposed to launch the reader's default new reader and either subscribe them to the feed or check it for updates."

    DD

  19. DavidDeCristoforo
    Member
    Posted 9 years ago #

    One more question? What I have is this:

    Subscribe
    RSS
    Comments RSS

    What I would like to do is replace the 1st "RSS" with a "gereric" RSS link image. I have the GIF image uploaded to my images dir.

    DD

  20. Avenir
    Member
    Posted 9 years ago #

    The code to enable autodiscovery should be located in the header.php file of whatever theme you're using. It should be a bunch of <link> elements like this:

    <link rel="alternate" type="application/rss+xml" " href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="alternate" type="text/xml" href="<?php bloginfo('rss_url'); ?>" />
    <link rel="alternate" type="application/atom+xml" href="<?php bloginfo('atom_url'); ?>" />

    Feed: is a relatively new protocol (like Skype's call:), so it's not supported by some browsers. When it is supported by all browsers, then it will do as macmanx says.

    And to add the generic image, go into the template file where the RSS link is, find it, and replace the text between the anchor tags with:

    <img src="rssimg.gif" alt="RSS for this blog" />

    Of course, change the attributes so they match your blog.

  21. DavidDeCristoforo
    Member
    Posted 9 years ago #

    Cool. I'll play around with it some more. As to the image tag, that's pretty much what I "figured" but it's nice to be sure.

    Thanx Again
    DD

  22. DavidDeCristoforo
    Member
    Posted 9 years ago #

    It would seem that having the RSS link is simply a way to made the URL appear in the site visitor's location "field" from where he or she can copy it to paste into their news reader. What I would really like if for this to happen automatically when the person clicks the link. But maybe it's too soon for that? Have to wait until the technology evolves a bit more?

    Anyway, thanx again to everyone for their help. I got the link working, the image in place and all seems good....

    DD

  23. Add feed: in front of the RSS URL. Ex: feed:http://www.domain.com/feed/ "feed:" is new protocol which, once fully implemented amongst RSS apps, should launch your default RSS app and either subscribe you to the feed or check it for updates.

  24. DavidDeCristoforo
    Member
    Posted 9 years ago #

    So would it be a correct assumption that I should leave the link "as is" until newer versions of web browsers are released that support the "feed" protocol and then change the link to include the "feed:" prefix? (At this time all of my browsers return an error when the "feed:" prefix is used.)

    Thanx
    DD

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.