Posts Tagged ‘RSS feed’

SE Trick – Modify RSS Feed URL using jQuery

This is a simple tutorial (to the original question) on how you can replace your existing StackExchange questions feed link with a third-party feed tracker service such as FeedBurner.

By default, your questions feed should look something like: http://{SITE_NAME}/feeds where you will also have answers feed: http://{SITE_NAME}/feeds/question/{QUESTION_ID}, user feed: http://{SITE_NAME}/feeds/user/{USER_ID} and tags feed: http://{SITE_NAME}/feeds/tag?tagnames={TAG_SLUG}&sort={SORT_VERB}.

Using simple jQuery, you can replace existing questions feed link to specified URL without effecting other feed links:

$(document).ready(function()
{
    if($("#feed-link-text a").text() == "recent questions feed")
    {
        $("#feed-link-text a").attr("href", "{NEW_FEED_URL}");
    }
});

Done!

Tags: , ,

Site Keeping

I have changed my WordPress theme as I decided that the previous theme is ‘not clean enough’. I am a fan of both gimmick and cleanness, so occasional mental conflicts are inevitable.

If you are a feed reader, remember to drop by and check out the new look. Also, I have finally hook up with Feedburner so please update your subscription to following. Thanks.

Main Feed: http://feeds.feedburner.com/TravisLin

Comment Feed: http://feeds.feedburner.com/TravisLinComments

Tags: ,

  • Pages

  • Categories

  • Archives

  • Recent Comments

  • Tag Cloud