Script & Style Exclusive: Add Custom Values To Your WordPress RSS Feed

By  on  

My duties at Script & Style have led me to writing an exclusive article about how you can add custom variables to your RSS feed. From the article:

As most of you probably know, Script & Style was created by myself, David Walsh, and CSS-Tricks scribe Chris Coyier. We were both looking to create widgets for our website that would provide not only a link to the article submission page on Script & Style but also a direct link to the full article on the author's domain. Since we were reading in the RSS feed to grab articles and links, we needed to add a custom XML key/value to the RSS feed so that we could retrieve the direct link URL. Here's how we did it.

Jump over to Script & Style to check out the full article.

Recent Features

  • By
    How I Stopped WordPress Comment Spam

    I love almost every part of being a tech blogger:  learning, preaching, bantering, researching.  The one part about blogging that I absolutely loathe:  dealing with SPAM comments.  For the past two years, my blog has registered 8,000+ SPAM comments per day.  PER DAY.  Bloating my database...

  • By
    Chris Coyier’s Favorite CodePen Demos

    David asked me if I'd be up for a guest post picking out some of my favorite Pens from CodePen. A daunting task! There are so many! I managed to pick a few though that have blown me away over the past few months. If you...

Incredible Demos

  • By
    Implement the Google AJAX Search API

    Let's be honest...WordPress' search functionality isn't great. Let's be more honest...no search functionality is better than Google's. Luckily for us, Google provides an awesome method by which we can use their search for our own site: the Google AJAX Search API.

  • By
    jQuery Chosen Plugin

    Without a doubt, my least favorite form element is the SELECT element.  The element is almost unstylable, looks different across platforms, has had inconsistent value access, and disaster that is the result of multiple=true is, well, a disaster.  Needless to say, whenever a developer goes...

Discussion

    Wrap your code in <pre class="{language}"></pre> tags, link to a GitHub gist, JSFiddle fiddle, or CodePen pen to embed!