Commit Graph

109 Commits

Author SHA1 Message Date
ryan b6978b2123 Don't slurp in entire file. Props tellyworth. see #4421
git-svn-id: http://svn.automattic.com/wordpress/trunk@5802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-15 17:55:12 +00:00
ryan 9fbb55032a Regex fix. Props tellyworth. fixes #4452
git-svn-id: http://svn.automattic.com/wordpress/trunk@5718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-16 02:09:08 +00:00
ryan 2ea53cf51a Use CDATA escaping on fields. Props tellyworth. fixes #4452
git-svn-id: http://svn.automattic.com/wordpress/trunk@5711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-15 17:22:38 +00:00
ryan 2f09416258 Trim empty lines. Nothing but newline.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 02:25:30 +00:00
ryan 56272d8507 MT importer rework. see #4421
git-svn-id: http://svn.automattic.com/wordpress/trunk@5684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-12 19:49:30 +00:00
ryan 474e769f07 cat2tag fixes. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-26 18:59:58 +00:00
ryan 80ce3031d1 Update cat2tag converter. Some term API tweaks. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-26 18:54:16 +00:00
markjaquith 563c0ab7a2 Allow MT Importer to use FTP-uploaded file (to get around php.ini-set file upload size limit). fixes #4284
git-svn-id: http://svn.automattic.com/wordpress/trunk@5531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 19:36:35 +00:00
rob1n 0b847d9933 Some fixes for the Textpattern importer.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-11 03:54:56 +00:00
rob1n ac72ff2a42 Show authors' logins in alphabetical order. fixes #4232
git-svn-id: http://svn.automattic.com/wordpress/trunk@5448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-11 03:51:21 +00:00
ryan 28f3106ee9 Var is an object var. Add missing this.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-10 02:31:16 +00:00
ryan 17be568a6d Don't preg_match_all when processing items. fixes #4239 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-10 00:05:21 +00:00
ryan ef4ad331e1 Add nonces to importers
git-svn-id: http://svn.automattic.com/wordpress/trunk@5404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-07 15:56:53 +00:00
ryan b33a7e9cfb Set eol-style
git-svn-id: http://svn.automattic.com/wordpress/trunk@5390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-04 21:28:50 +00:00
rob1n 007a086bcd Use non-GMT date. fixes #3034
git-svn-id: http://svn.automattic.com/wordpress/trunk@5326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-27 00:56:12 +00:00
rob1n aaab9dd1f4 Add small i18n fix. Props nbachiyski. fixes #4139
git-svn-id: http://svn.automattic.com/wordpress/trunk@5253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-12 05:59:59 +00:00
rob1n 64f8429a12 Some fixes for another fix. Props takayukister. fixes #4040
git-svn-id: http://svn.automattic.com/wordpress/trunk@5252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-12 05:55:34 +00:00
rob1n e169d671d2 Add ability to convert all categories to tags. fixes #4135
git-svn-id: http://svn.automattic.com/wordpress/trunk@5251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-12 05:46:36 +00:00
ryan 44111a3ae7 Stripslashes post meta values before handing off to add_post_meta. Use wpdb::escape instead of addslashes. Props takayukister. fixes #4028
git-svn-id: http://svn.automattic.com/wordpress/trunk@5249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-12 02:58:41 +00:00
rob1n f8fd7370fc Use get_var and only select cat_ID. see #4040
git-svn-id: http://svn.automattic.com/wordpress/trunk@5247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-12 02:08:40 +00:00
rob1n f603da47b6 Use cat_name instead of cat_nicename when creating categories from import. Props takayukister. fixes #4040
git-svn-id: http://svn.automattic.com/wordpress/trunk@5246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-12 01:49:46 +00:00
ryan 69d3f2df59 Preserve page hierarchy. Props takayukister. fixes #4025
git-svn-id: http://svn.automattic.com/wordpress/trunk@5245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-12 01:34:15 +00:00
rob1n 1a15286ed5 Use own category_exists() function, and only list categories to convert. fixes #4107
git-svn-id: http://svn.automattic.com/wordpress/trunk@5229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 16:57:21 +00:00
rob1n 27f9b4a0fb Fix some i18n and typographical stuff in the UTW importer. Props nbachiyski. fixes #4121
git-svn-id: http://svn.automattic.com/wordpress/trunk@5228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 09:27:50 +00:00
rob1n a0d725d980 Just check for manage_categories. fixes #4107
git-svn-id: http://svn.automattic.com/wordpress/trunk@5218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-09 16:27:22 +00:00
rob1n bf3110bb49 Add initial UTW tag converter. Props MellerTime. fixes #4100
git-svn-id: http://svn.automattic.com/wordpress/trunk@5213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-08 04:51:35 +00:00
rob1n 6f3c55b1de Put the sorting on hold, and add empty contructor.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-07 19:04:57 +00:00
rob1n 62b2339e4b Add menu_order and page_name to WP import/export. Props takaykister. fixes #4024
git-svn-id: http://svn.automattic.com/wordpress/trunk@5208 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-07 16:36:10 +00:00
rob1n 192d5a3e33 Fix typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-07 15:52:53 +00:00
rob1n e874adadaa Add clean_category_cache() and capability checking. see #4107
git-svn-id: http://svn.automattic.com/wordpress/trunk@5203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-07 15:43:20 +00:00
rob1n 8661af0977 Add initial category to tag importing. see #4107
git-svn-id: http://svn.automattic.com/wordpress/trunk@5201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-07 04:58:28 +00:00
rob1n b30fff9c07 Fix double header when WP importer file upload fails. Props takayukister. fixes #4033
git-svn-id: http://svn.automattic.com/wordpress/trunk@5146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-31 03:55:22 +00:00
matt 3d21925922 Ryan slays the dragon. (Some of these return WP_Error objects.)
git-svn-id: http://svn.automattic.com/wordpress/trunk@5089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 02:05:29 +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
ryan 8772cbfa13 Blogger importer updates. fixes #3971
git-svn-id: http://svn.automattic.com/wordpress/trunk@5038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-14 19:20:19 +00:00
ryan a9a554fc12 Drop empty b2 importer file. fixes #3855
git-svn-id: http://svn.automattic.com/wordpress/trunk@5034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-14 01:49:54 +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 d0f79bb3f2 trailing tabs and whitespace cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-27 15:24:54 +00:00
ryan 4fc6d6cc6b Update blogger importer.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-20 07:46:40 +00:00
ryan 23148c01f3 Revert [4735]. Not needed.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-16 03:00:35 +00:00
ryan d8ca8009d3 Fix author mapping in the WP-to-WP importer.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-16 01:35:19 +00:00
markjaquith 37b522d016 Change wording for Blogger import to note that it only works with OLD Blogger accounts. Props foolswisdom. fixes #3490
git-svn-id: http://svn.automattic.com/wordpress/trunk@4679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-05 08:45:52 +00:00
ryan b9ccbfe603 Some string changes. Props MichaelH. fixes #2724
git-svn-id: http://svn.automattic.com/wordpress/trunk@4608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-05 07:15:12 +00:00
ryan 7c759611cc Import/export category data. Props andy. fixes #3403
git-svn-id: http://svn.automattic.com/wordpress/trunk@4558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-30 18:15:14 +00:00
ryan cc44db510d Use js_escape. Props nbachiyski. fixes #3399
git-svn-id: http://svn.automattic.com/wordpress/trunk@4535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-28 21:51:13 +00:00
ryan 9f534ebae6 Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: http://svn.automattic.com/wordpress/trunk@4495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-19 07:56:05 +00:00
ryan c476029674 Set eol style. fixes #3264
git-svn-id: http://svn.automattic.com/wordpress/trunk@4424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-25 22:55:05 +00:00
matt df4be26fb0 Missed one in [4369]
git-svn-id: http://svn.automattic.com/wordpress/trunk@4370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-10 09:08:33 +00:00
matt 59b3ce97cf Capitalization fixes in importers. Hat tip: Niall.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-10 09:07:06 +00:00
markjaquith 6434941763 Matt, likes, lots, of, commas,,,
git-svn-id: http://svn.automattic.com/wordpress/trunk@4363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-08 21:23:26 +00:00