Commit Graph

41 Commits

Author SHA1 Message Date
Jon Cave cd097b5b6a Bump WXR_VERSION because of r19858 which affects the regex based importer. See #15203.
git-svn-id: https://develop.svn.wordpress.org/trunk@19859 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-07 21:51:14 +00:00
Jon Cave 7efe34d79d Export valid XML by escaping the closing CDATA sequence "]]>". Props ceefour. See #15203.
git-svn-id: https://develop.svn.wordpress.org/trunk@19858 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-07 21:48: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
Andrew Nacin 96f19438fb Add wxr_export_skip_postmeta filter for skipping postmeta in exports. props westi, fixes #18280.
git-svn-id: https://develop.svn.wordpress.org/trunk@19233 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-09 19:32:44 +00:00
Andrew Nacin 6076211cc6 Code readability improvements. props niallkennedy, fixes #17166, #17182, #17231, #16474.
git-svn-id: https://develop.svn.wordpress.org/trunk@17989 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-22 22:30:05 +00:00
Ryan Boren d8c335930f Export commentmeta. Props duck_. see #12871
git-svn-id: https://develop.svn.wordpress.org/trunk@17700 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-25 19:25:45 +00:00
Mark Jaquith a701db272d Skip authors that no longer exist when doing an export. props nacin. fixes #16479
git-svn-id: https://develop.svn.wordpress.org/trunk@17415 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-07 19:58:41 +00:00
Ryan Boren ef34db239b Use term_taxonomy_id instead of term_id. Props duck_, nootron. fixes #15941
git-svn-id: https://develop.svn.wordpress.org/trunk@17108 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-22 17:38:22 +00:00
Andrew Nacin e16287f1fa Export filtering JS and minor tweaks. props duck_, see #15197.
git-svn-id: https://develop.svn.wordpress.org/trunk@16733 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-05 11:21:08 +00:00
Ryan Boren 51879abf56 Export filtering. Props duck_. fixes #15197
git-svn-id: https://develop.svn.wordpress.org/trunk@16652 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 17:21:58 +00:00
Andrew Nacin b0208b5a8c Importer and exporter overhaul, mega props duck.
Exporter overhaul:
 * Add author information to export
 * Greater usage of slug identifiers
 * Don't export auto-drafts, spam comments, or edit lock/last meta keys
 * Inline documentation improvements
 * Remove filtering for now (@todo)
 * Bump WXR version to 1.1, but remain back compat in the importer

Importer overhaul (http://plugins.trac.wordpress.org/changeset/304249):
 * Use an XML parser where available (SimpleXML, XML Parser)
 * Proper import support for navigation menus
 * Many bug fixes, specifically improvements to category and custom taxonomy handling
 * Better author/user mapping

Fixes #5447 #5460 #7400 #7973 #8471 #9237 #10319 #11118 #11144 #11354 #11574 #12685 #13364 #13394 #13453 #13454 #13627 #14306 #14442 #14524 #14750 #15055 #15091 #15108.

See #15197.


git-svn-id: https://develop.svn.wordpress.org/trunk@15961 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 20:43:52 +00:00
Andrew Nacin 66a16124a4 Use correct variable in export. fixes #14213 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15367 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-06 20:24:38 +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
Ryan Boren aec821c651 Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@14924 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 02:42:15 +00:00
Ron Rennick 54a5f090ab more use get_blogaddress_by_name, see #12735
git-svn-id: https://develop.svn.wordpress.org/trunk@14705 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 23:00:48 +00:00
Ron Rennick 0e9d18f366 export improvements, props blepoxp, see #10317
git-svn-id: https://develop.svn.wordpress.org/trunk@14444 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 17:31:36 +00:00
Ryan Boren e61755c853 Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@13733 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 16:27:25 +00:00
Ron Rennick b921286ce2 add features to export, see #10317
git-svn-id: https://develop.svn.wordpress.org/trunk@13573 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 16:45:40 +00:00
Ryan Boren d440214a7b Export post <-> term relationships for all taxonomies. fixes #12180
git-svn-id: https://develop.svn.wordpress.org/trunk@13055 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-11 19:17:00 +00:00
Peter Westwood 2a93c55f43 Switch to passing arrays instead of query strings to functions. Fixes #6647 props filosofo and hakre.
git-svn-id: https://develop.svn.wordpress.org/trunk@12657 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 08:34:39 +00:00
Ryan Boren dcd3604d90 Use array calling style. Props Denis-de-Bernardy. see #6647
git-svn-id: https://develop.svn.wordpress.org/trunk@12515 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 15:31:02 +00:00
Peter Westwood 159726cd94 Wrap the content of <wp:meta_value></wp:meta_value> in CDATA for WXR exports. Fixes #9633 props hakre.
git-svn-id: https://develop.svn.wordpress.org/trunk@12506 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 13:03:34 +00:00
Mark Jaquith a14caf5287 Use esc_url_raw() on wp:comment_author_url in exports. fixes #9524
git-svn-id: https://develop.svn.wordpress.org/trunk@12359 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 08:42:45 +00:00
Ryan Boren ba1f1d3780 Export and import custom taxonomies. Props chrisscott. fixes #10012
git-svn-id: https://develop.svn.wordpress.org/trunk@12109 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-26 13:57:55 +00:00
Peter Westwood c8748b8364 Fix some login typos. Fixes #11031 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@12100 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-25 09:28:20 +00:00
Ryan Boren 43c201d458 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11930 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-14 14:03:32 +00:00
Peter Westwood b2fce410d1 Add support for sticky posts to the WXR exporter and importer. Fixes #10462 props josephscott.
git-svn-id: https://develop.svn.wordpress.org/trunk@11774 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-04 21:46:42 +00:00
Mark Jaquith f0336cfa7d deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: https://develop.svn.wordpress.org/trunk@11380 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 15:11:07 +00:00
Peter Westwood 6bd635e65d Update importing instructions in the WXR export file. Fixes #8483 props yoavf.
git-svn-id: https://develop.svn.wordpress.org/trunk@10045 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-04 20:34:00 +00:00
Ryan Boren ca8f88dd82 Declare excerpt namespace. Props byrnereese. fixes #7624
git-svn-id: https://develop.svn.wordpress.org/trunk@9892 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-26 00:57:13 +00:00
Ryan Boren 7a05a094f0 Don't put revisions in the export
git-svn-id: https://develop.svn.wordpress.org/trunk@9104 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-08 23:49:46 +00:00
Ryan Boren 3e43adeb6e phpdoc for wp-admin/includes from jacobsantos. see #7527
git-svn-id: https://develop.svn.wordpress.org/trunk@8912 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-17 00:40:10 +00:00
Ryan Boren d2b7cbe696 Export and import post excerpts. Props kartik_subbarao. fixes #5555
git-svn-id: https://develop.svn.wordpress.org/trunk@7965 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-20 22:22:21 +00:00
Ryan Boren fdc05b24f6 Prepare DB queries in more places. Props filosofo. see #6644
git-svn-id: https://develop.svn.wordpress.org/trunk@7645 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:13:25 +00:00
Peter Westwood b122503bbc Enclose more things as CDATA when exporting. Fixes #4242 props nbachiyski.
git-svn-id: https://develop.svn.wordpress.org/trunk@7299 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-14 19:37:18 +00:00
Ryan Boren f1bcc40f30 Add post_password to export. Props Nazgul. fixes #4376
git-svn-id: https://develop.svn.wordpress.org/trunk@6753 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-07 19:22:59 +00:00
Ryan Boren 3a18b96c9b Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@6726 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-05 06:47:27 +00:00
Ryan Boren c7763a6f76 the_content_export filter from tellyworth. fixes #5465
git-svn-id: https://develop.svn.wordpress.org/trunk@6383 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-14 21:40:28 +00:00
Ryan Boren 3bf9ba914b Additional metadata for wxr export from tellyworth. fixes #5454
git-svn-id: https://develop.svn.wordpress.org/trunk@6375 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-12 05:11:24 +00:00
Ryan Boren 721b8c930b Remove unused variables. Props DD32. fixes #5418
git-svn-id: https://develop.svn.wordpress.org/trunk@6354 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-05 00:29:05 +00:00
Ryan Boren 46dbf8b1c9 Move export_wp() to an include. Props tellyworth. fixes #5347
git-svn-id: https://develop.svn.wordpress.org/trunk@6335 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-15 05:32:33 +00:00