psykoral
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Showing a specific post for RSS FeedWell for those interested (doesn’t seem like anyone but for search purposes humor me) I’ve found a solution/work around for getting a single article.
I wont go as far as to post the code specifically, but what I ended up doing was this:
– Created a function that has a parameter of ‘id’
– Used that $id in a loop to check the “guid” node of the XML
– If the “guid” node matched the value of $id then show it.That way, there will only ever be one item shown and you can do something like https://www.yoursite.com/?id=11 to get a single article with the id of 11.
Forum: Fixing WordPress
In reply to: RSS Not Showing Full TextGuys, listen to Otto42, he’s right. Believe me, I feel you on thinking it’s a bug. This was driving me absolutely INSANE trying to figure out why it would cut the post off even though I was using full text mode and not using the ‘more’ feature.
I’ve read every post on this tread and discovered IT’S NOT A BUG! Otto42 is RIGHT!
Look at your feed in the Safari browser! Does it cut it off? NO! You know why? Because Safari reads the ‘content:encoded’ tag rather then the ‘description’ tag. Look at your feed in IE6, where you can view the raw XML. See it? There’s BOTH a description, which DOES cut it off… AND a content:encoded which has the FULL article.
How do you make your reader read from the ‘content:encoded’ tag? Sorry, I can’t help you there. I don’t read RSS through readers, I simply consume it for use in automating RSS feeds into websites written in ASP.NET and PHP. Perhaps someone else can if you’re reader is reading the ‘description’ tag by default.