Commit Graph

28 Commits

Author SHA1 Message Date
Andrew Nacin c2ad4403de Don't return encoded ampersands from get_post_comments_feed_link() to avoid canonical redirect issues. Apply esc_url() when appropriate.
props markjaquith, SergeyBiryukov. fixes #21841.



git-svn-id: https://develop.svn.wordpress.org/trunk@22431 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-07 19:56:10 +00:00
Andrew Nacin f4fc103c50 Use html_type for alternate link elements in atom feeds, as done in atom comment feeds. props niallkennedy. fixes #21305.
git-svn-id: https://develop.svn.wordpress.org/trunk@21289 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-20 15:08:45 +00:00
Andrew Nacin 75b11699c1 Use the site's locale for the feed language. Provides the same result as language_attributes(). Removes the rss_language option. fixes #13440. see #5517.
git-svn-id: https://develop.svn.wordpress.org/trunk@19784 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-29 19:56:33 +00:00
Peter Westwood 6b0bf6cd72 Allow custom author elements such as email. Fixes #17149 props niallkennedy.
git-svn-id: https://develop.svn.wordpress.org/trunk@17641 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-17 07:39:41 +00:00
Peter Westwood 31be303930 Move the escaping into get_guid() so we don't have to repeat ourselves. See #13555.
git-svn-id: https://develop.svn.wordpress.org/trunk@14949 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 17:27:18 +00:00
Peter Westwood 41a560ec0b Escape the guid urls when placing them in feeds and other xml locations. See #13555.
git-svn-id: https://develop.svn.wordpress.org/trunk@14947 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 17:01:21 +00:00
Peter Westwood 1600c4610f Add the generator element in feeds through the {rss2|atom|rdf|rss|opml}_head hooks. Fixes #6947 props sivel.
git-svn-id: https://develop.svn.wordpress.org/trunk@13113 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 16:45:16 +00:00
Peter Westwood c38846defd Use _deprecated_argument() in get_bloginfo() and then don't pass deprecated argument to get_bloginfo(). Fixes #11652 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12587 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-30 17:05:02 +00:00
Ryan Boren 2cb6b5469d Deprecates the_content_rss(). Add the_content_feed() and get_the_content_feed(). Convert places that called the_content_rss() with an excerpt length to the_excerpt_rss(). Remove the rss_excerpt_length option. Use the_content_feed() where the_content() was previously used in feeds. Props Viper007Bond.
git-svn-id: https://develop.svn.wordpress.org/trunk@11980 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-28 14:36:48 +00:00
Ryan Boren 15539caf5e Use get_the_author_meta(). Props sivel. see #9393
git-svn-id: https://develop.svn.wordpress.org/trunk@11416 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-20 21:32:39 +00:00
Ryan Boren c4f78ad63a Don't localize dates where not appropriate. Props Denis-de-Bernardy, hakre. fixes #9730
git-svn-id: https://develop.svn.wordpress.org/trunk@11323 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-14 02:00:32 +00:00
Ryan Boren f5020f43d2 Remove unneeded spaces. Props Denis-de-Bernardy. fixes #108
git-svn-id: https://develop.svn.wordpress.org/trunk@10952 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-16 18:47:41 +00:00
Andrew Ozz 19577d0a8d Add support for automatic feed links in themes, props Viper007Bond, see #8878
git-svn-id: https://develop.svn.wordpress.org/trunk@10377 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-19 05:04:58 +00:00
Ryan Boren d9b6584881 Typo fix from peaceablewhale. fixes #6579 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7772 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-22 21:16:42 +00:00
Peter Westwood e3d814abc3 Better self links for feeds. Fixes #5238 props andy.
git-svn-id: https://develop.svn.wordpress.org/trunk@7244 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-11 18:18:22 +00:00
Ryan Boren ac09012f47 Some file level phpdoc from darkdragon. fixes #5527
git-svn-id: https://develop.svn.wordpress.org/trunk@6493 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-25 20:48:01 +00:00
Ryan Boren 1db91baf1e Support atom threading. Props rubys. fixes #5434
git-svn-id: https://develop.svn.wordpress.org/trunk@6369 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-10 06:57:58 +00:00
Ryan Boren ac3206db1e Back out some changes from #5181. Props rubys. fixes #5307
git-svn-id: https://develop.svn.wordpress.org/trunk@6315 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-06 18:23:16 +00:00
Peter Westwood eac65e6815 Refactor atom support to share code. Fixes #5181 props rubys
git-svn-id: https://develop.svn.wordpress.org/trunk@6273 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-19 15:42:30 +00:00
Peter Westwood 3c2cc79a46 Centralise generator generation, move theme generator generation to wp-head hook. Fixes #5085, #4803. props docwhat, Viper007Bond.
git-svn-id: https://develop.svn.wordpress.org/trunk@6195 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-06 06:55:24 +00:00
Peter Westwood df7d8eaacd Make the atom feed updated field actually tell you when the post was updated. Fixes #4816 props lapcat.
git-svn-id: https://develop.svn.wordpress.org/trunk@6093 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 16:26:39 +00:00
Ryan Boren 6f03cac3d9 Deprecate permalink_single_rss(). Add the_permalink_rss() with accompanying filter. Props joostdevalk and Otto42. fixes #4654
git-svn-id: https://develop.svn.wordpress.org/trunk@5910 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-21 18:27:45 +00:00
Ryan Boren 0f4225621d Don't output author uri tag if uri is empty.
git-svn-id: https://develop.svn.wordpress.org/trunk@5699 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-13 18:03:17 +00:00
rob1n 12c2ef6be0 Content-Type, not Content-type, as headers are case sensitive. Props foolswisdom and Nazgul. fixes #3545
git-svn-id: https://develop.svn.wordpress.org/trunk@5640 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-02 05:21:18 +00:00
rob1n 26a5cfc7fe Show more relevant titles (current category, date, etc.) in feed titles. fixes #1790
git-svn-id: https://develop.svn.wordpress.org/trunk@5132 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 01:29:09 +00:00
Mark Jaquith 5acfcd9fea trailing tabs and whitespace cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@4953 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-27 15:24:54 +00:00
Ryan Boren 316174c4e9 Proper atom enclosures. Props rob1n. fixes #1464
git-svn-id: https://develop.svn.wordpress.org/trunk@4930 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-23 23:47:57 +00:00
Ryan Boren 9b6a6b632c Relocate feed templates to wp-includes. fixes #3846
git-svn-id: https://develop.svn.wordpress.org/trunk@4927 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-23 02:50:05 +00:00