Commit Graph

133 Commits

Author SHA1 Message Date
nacin
e965180dc1 Pass feed type from the_content_feed to get_the_content_feed. props peaceablewhale, fixes #14214.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-06 20:41:07 +00:00
ryan
17129fb62e Cut 'em out, move 'em on, trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@15116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-02 20:04:07 +00:00
nacin
28a80ce82a Final bit of escaping in feeds. fixes #13555
git-svn-id: http://svn.automattic.com/wordpress/trunk@14952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 18:30:51 +00:00
westi
11f0a387cd Some more url escaping in feeds. See #13555.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 17:47:29 +00:00
ryan
ec8e347792 Introduce home_url(). Props Denis-de-Bernardy, hakre. see #9008
git-svn-id: http://svn.automattic.com/wordpress/trunk@12598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-04 17:23:29 +00:00
westi
b0356653a8 Pass the url to the 'wp_feed_cache_transient_lifetime' filter to give more context.
Allow plugins to set extra options on SimplePie using the new 'wp_feed_options' action.
Fixes #11117 props nacin.

git-svn-id: http://svn.automattic.com/wordpress/trunk@12484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-22 12:48:40 +00:00
ryan
28723e1d9f Ue get_default_feed() for *_the_category_rss(). Props filosofo, peaceablewhale. fixes #5802
git-svn-id: http://svn.automattic.com/wordpress/trunk@12197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-17 16:27:36 +00:00
ryan
5224680c4d 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: http://svn.automattic.com/wordpress/trunk@11980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-28 14:36:48 +00:00
westi
cdcb5859c8 Remove context from wp_feed_cache_transient_lifetime filter and filter in fetch_feed as well. Fixes #9926.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-25 09:13:48 +00:00
markjaquith
3ebf837ced Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: http://svn.automattic.com/wordpress/trunk@11383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 16:00:33 +00:00
markjaquith
119b39cec2 deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 15:11:07 +00:00
ryan
a5e73d3b9b Fix feed autodiscovery. Props peaceablewhale. fixes #9810
git-svn-id: http://svn.automattic.com/wordpress/trunk@11358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-16 05:15:21 +00:00
ryan
a1f614654d Use text/xml for rss feeds for best browser compat. Props Denis-de-Bernardy. fixes #9810
git-svn-id: http://svn.automattic.com/wordpress/trunk@11334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-14 21:21:31 +00:00
markjaquith
6c2ffddf31 _a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 19:43:53 +00:00
ryan
2d489767bb s/attribute_escape/attr/. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 05:58:45 +00:00
ryan
7651b29cb9 Silence html_entity_decode warnings. Props Denis-de-Bernardy. fixes #9616
git-svn-id: http://svn.automattic.com/wordpress/trunk@11081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-24 16:57:27 +00:00
ryan
c1e2c5a074 Remove leading newlines. Props filosofo. fixes #9096
git-svn-id: http://svn.automattic.com/wordpress/trunk@10758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 18:25:04 +00:00
ryan
a33afa3546 Pass blog charset to html_entity_decode(). Props adferguson. fixes #7563
git-svn-id: http://svn.automattic.com/wordpress/trunk@10688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-03 18:37:25 +00:00
ryan
8fb1093aad Use WordPress HTTP class for SimplePie requests. Props DD32. fixes #9247
git-svn-id: http://svn.automattic.com/wordpress/trunk@10687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-03 17:41:01 +00:00
ryan
0a90b7aaf9 phpdoc for fetch_feed(). Props rmmcue. see #9198
git-svn-id: http://svn.automattic.com/wordpress/trunk@10671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-28 01:50:47 +00:00
ryan
a02d6e4179 Use SimplePie for widget and dashboard feeds. First cut. see #9198
git-svn-id: http://svn.automattic.com/wordpress/trunk@10666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-27 19:32:50 +00:00
azaozz
3b94be427f Fix regex in function rss_enclosure(), fixes #9192
git-svn-id: http://svn.automattic.com/wordpress/trunk@10615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-21 06:14:52 +00:00
ryan
ee73ce298c Use guid instead of link for atom comment IDs. fixes #8708 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-20 20:55:03 +00:00
azaozz
3949fb7e90 Add support for automatic feed links in themes, props Viper007Bond, see #8878
git-svn-id: http://svn.automattic.com/wordpress/trunk@10377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-19 05:04:58 +00:00
ryan
2444331b6a Clean comment link. Props nbachiyski. fixes #8405 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-08 04:31:08 +00:00
ryan
e89192b1a8 Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 18:03:31 +00:00
ryan
3a7cd006fc Use home to determine self link host
git-svn-id: http://svn.automattic.com/wordpress/trunk@9769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-18 23:04:42 +00:00
markjaquith
19abe38f5a Use clean_url() in self_link(), for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@9753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-18 08:24:17 +00:00
ryan
851e47cb22 Use only one enclosure type. Props hailin. fixes #8017
git-svn-id: http://svn.automattic.com/wordpress/trunk@9501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-03 20:19:38 +00:00
matt
98fbfa4acb Don't encoded category element contents - fixes #4321 and #7815.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 01:08:56 +00:00
westi
95e26235ad Notice fixes see #7509 props DD32 and jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-21 20:41:25 +00:00
ryan
cddfd974e0 post_password_required(). fixes #7679
git-svn-id: http://svn.automattic.com/wordpress/trunk@8800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-03 19:54:14 +00:00
ryan
35b18e5034 Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@8600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 05:36:14 +00:00
markjaquith
74c46749cb Cast to array when using foreach(). Props santosj (and thanks for your perseverance!). fixes #2784
git-svn-id: http://svn.automattic.com/wordpress/trunk@8572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-06 20:31:54 +00:00
ryan
4cd88d665a phpdoc for feed.php from jacobsantos. fixes #5636
git-svn-id: http://svn.automattic.com/wordpress/trunk@8246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-03 15:23:22 +00:00
westi
77c0f608c8 Better self links for feeds. Fixes #5238 props andy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 18:18:22 +00:00
ryan
1edf014a54 s/2.4/2.5/. Props ffemtcj. fixes #5810
git-svn-id: http://svn.automattic.com/wordpress/trunk@6777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-10 07:59:34 +00:00
ryan
7646d94d88 Pass 'show' argument to bloginfo_rss filters. Props tzafrir and Viper007Bond. fixes #5267
git-svn-id: http://svn.automattic.com/wordpress/trunk@6750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-07 18:01:33 +00:00
markjaquith
5b22db23d1 Make RSS 2.0 comment feed GUIDs immutable. fixes #5072
git-svn-id: http://svn.automattic.com/wordpress/trunk@6742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-06 22:33:21 +00:00
ryan
d88983793b Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@6726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 06:47:27 +00:00
ryan
8263948a96 Some notice fixes from Nazgul. fixes #3155
git-svn-id: http://svn.automattic.com/wordpress/trunk@6711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-02 18:42:09 +00:00
westi
bce8c48d72 Deprecate comments_rss and create_user.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-28 21:47:54 +00:00
westi
c04f475479 Better documentation for prep_atom_text_construct props darkdragon
git-svn-id: http://svn.automattic.com/wordpress/trunk@6516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-28 21:21:50 +00:00
ryan
83afcae858 New feed_link functions. Deprecate rss_link functions. Make default feed pluggable. Props rubys. see #5328
git-svn-id: http://svn.automattic.com/wordpress/trunk@6365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-06 19:58:15 +00:00
ryan
028a159440 Remove unused vars. Props DD32. see #5418
git-svn-id: http://svn.automattic.com/wordpress/trunk@6364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-06 19:49:33 +00:00
ryan
fc31e5395b phpdoc for get_category_feed_link(). see #5173
git-svn-id: http://svn.automattic.com/wordpress/trunk@6328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-09 20:31:24 +00:00
ryan
17b0fbab7a get_category_feed_link() from ionfish. fixes #5173
git-svn-id: http://svn.automattic.com/wordpress/trunk@6327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-09 20:12:04 +00:00
westi
5e0cf58bfb Add @since to the new phpdoc relates #5181 and [6273]
git-svn-id: http://svn.automattic.com/wordpress/trunk@6274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-19 16:27:09 +00:00
westi
4c7bfb6a4f Refactor atom support to share code. Fixes #5181 props rubys
git-svn-id: http://svn.automattic.com/wordpress/trunk@6273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-19 15:42:30 +00:00
ryan
9bfccd6286 Add checks for WP_Error. Props filosofo. see #4809
git-svn-id: http://svn.automattic.com/wordpress/trunk@6125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-18 16:32:22 +00:00
ryan
ec182d74a6 Deprecate fakeit arg. Props Nazgul. fixes #4439
git-svn-id: http://svn.automattic.com/wordpress/trunk@6114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 21:27:26 +00:00
markjaquith
ec6416ec0b fix links generated by get_category_rss_link(). props gwagenknecht. fixes #4550 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 22:24:28 +00:00
ryan
321c310717 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@6026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:32:58 +00:00
ryan
87c4f3a17f Strip lines that contain only whitespace down to newlines.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:19:20 +00:00
westi
7612bc20b1 Fix RDF feeds to not contain invalid tag "category". Fixed #4643 props kztk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-01 08:33:08 +00:00
ryan
a43e37b8a1 get_tag() and get_tag_feed_link()
git-svn-id: http://svn.automattic.com/wordpress/trunk@6000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-01 04:43:27 +00:00
ryan
395ee1acad Include tags in feeds. fixes #4537
git-svn-id: http://svn.automattic.com/wordpress/trunk@5979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-29 21:10:20 +00:00
ryan
9b395107f4 Deprecate permalink_single_rss(). Add the_permalink_rss() with accompanying filter. Props joostdevalk and Otto42. fixes #4654
git-svn-id: http://svn.automattic.com/wordpress/trunk@5910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-21 18:27:45 +00:00
ryan
0e7483cc5a s/cat_name/name/ see #4537
git-svn-id: http://svn.automattic.com/wordpress/trunk@5755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-25 20:06:02 +00:00
ryan
a5e56dc9db s/cat_name/name/ see #4537
git-svn-id: http://svn.automattic.com/wordpress/trunk@5754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-25 19:51:26 +00:00
ryan
ed549303d7 Move the_title filter to get_the_title. Props jhodgdon. fixes #4477
git-svn-id: http://svn.automattic.com/wordpress/trunk@5752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-25 17:48:35 +00:00
rob1n
a98bb3abda Fix Atom feeds' categories. fixes #4307
git-svn-id: http://svn.automattic.com/wordpress/trunk@5548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-25 15:55:30 +00:00
rob1n
e5b562a070 Apply the bloginfo_rss filter and change bloginfo_rss filter to get_bloginfo. Props Kafkaesqui. fixes #2014
git-svn-id: http://svn.automattic.com/wordpress/trunk@5134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-29 01:35:50 +00:00
rob1n
5b446f7cf7 Show more relevant titles (current category, date, etc.) in feed titles. fixes #1790
git-svn-id: http://svn.automattic.com/wordpress/trunk@5132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-29 01:29:09 +00:00
matt
7602d17899 (int)er the dragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 00:59:21 +00:00
markjaquith
05486cce3d user_trailingslashit filter for users who sometimes want trailing slashes only on certain URL types. fixes #3899
git-svn-id: http://svn.automattic.com/wordpress/trunk@5019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-10 06:18:43 +00:00
markjaquith
3320dd1380 Use strpos instead of strstr where ever possible, for speed. Props rob1n. fixes #3920
git-svn-id: http://svn.automattic.com/wordpress/trunk@4990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-07 05:29:15 +00:00
markjaquith
6fc0e8185f The O.C. Disorder;; Props Nazgul. fixes 3853
git-svn-id: http://svn.automattic.com/wordpress/trunk@4937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-25 13:26:18 +00:00
ryan
4bec99a338 Comment feeds everywhere. Props mdawaffe and rob1n. fixes #2485
git-svn-id: http://svn.automattic.com/wordpress/trunk@4934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-24 07:33:29 +00:00
ryan
9b8e0722d4 Typo fixes. Props Znuff. fixes #3859
git-svn-id: http://svn.automattic.com/wordpress/trunk@4933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-24 06:30:51 +00:00
ryan
2696432efc Proper atom enclosures. Props rob1n. fixes #1464
git-svn-id: http://svn.automattic.com/wordpress/trunk@4930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-23 23:47:57 +00:00
ryan
6dd7765ae1 Add get_post_comments_feed_link() and have popup comments templates use it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-23 08:31:07 +00:00
markjaquith
dfeeedc8da Consistent use or disuse of trailing slashes in URLs according to user preference. props MathiasBynens. fixes #1485
git-svn-id: http://svn.automattic.com/wordpress/trunk@4886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-15 07:07:12 +00:00
matt
a53887fc7f This is what I get for commiting remotely, should fix currently known issues with atom 1.0
git-svn-id: http://svn.automattic.com/wordpress/trunk@4805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-25 08:48:18 +00:00
matt
4296c78d54 Missed a file and an easy mistake.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-25 08:37:26 +00:00
markjaquith
0aa19529f9 Bunch of whitespace and coding standardization.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-07 03:57:23 +00:00
ryan
70b9f6e5ed Wrap cat name in CDATA. props alexkingorg. fixes #3252
git-svn-id: http://svn.automattic.com/wordpress/trunk@4454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-08 06:57:26 +00:00
markjaquith
6c7037a96d Code cleanup: wp-includes/feed.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@4393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-13 13:49:39 +00:00
markjaquith
1c9f6b4852 Better tabbing and newlining for RSS categories. Props coffee2code and Nazgul. fixes #1156
git-svn-id: http://svn.automattic.com/wordpress/trunk@4342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-04 21:46:42 +00:00
ryan
f129cef6b9 Don't use deprecated functions. Props Nazgul. fixes #3186
git-svn-id: http://svn.automattic.com/wordpress/trunk@4264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-02 18:03:34 +00:00
ryan
4e557e66b7 get_the_category_rss() from masquerade.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-26 18:05:06 +00:00
ryan
849a0d29d7 Use get_option instead of get_settings. Just 'cause.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-30 21:46:31 +00:00
ryan
c93efa866e Include file renames. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-11 06:43:54 +00:00