Getting WordPress RSS feed to display in Win8 App

More Windows 8 application development learning today.

I’ve been putting together an RSS reader for Win8 and following a tutorial from Microsoft on the subject but their feeds were structured differently from ours. Simple matter of changing the querySelectors, right? Wrong. I changed all the tags but still had trouble but thanks to this lovely Stack Overflow thread I learnt about name spacing RSS feeds and used the following code to get the data.

//process content so it displays nicely
 var staticContent = toStaticHTML(post.querySelector("encoded").textContent);

Life is good.

2 comments
Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

You May Also Like

Noseyham Stuff

I recently found out about r/somethingimade and I made a post there about NoseyHam so I thought I’d…
BSides Wrapup
Read More

BSides Wrap-up

BSides Wrap-up Right now I’m sitting in the airport bar, reflecting on the great weekend that Megan and…