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

Incredible Demos

  • By
    Send Email Notifications for Broken Images Using MooTools AJAX

    One of the little known JavaScript events is the image onError event. This event is triggered when an image 404's out because it doesn't exist. Broken images can make your website look unprofessional and it's important to fix broken images as soon as possible.

  • By
    Editable Content Using MooTools 1.2, PHP, and MySQL

    Everybody and their aerobics instructor wants to be able to edit their own website these days. And why wouldn't they? I mean, they have a $500 budget, no HTML/CSS experience, and extraordinary expectations. Enough ranting though. Having a website that allows for...

Discussion

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