Tag Info

Hot answers tagged

6

A new file, import.php: <?php define('WP_INSTALLING', true); // this is required. i forget why! include '/path/to/wordpress/wp-load.php'; include ABSPATH . WPINC . '/registration.php'; // wp_insert_user() $userdata = array('user_login' => 'jdoe', 'user_pass' => 'foobar'); $user_id = wp_insert_user($userdata); Check wp_insert_user() for other ...


5

Sounds like you have successfully gotten all 300 Pages imported based on the comments. (Regardless of how you did it, either by using the WordPress import plugin or by using some MySQL tool like phpMyAdmin or Sequel Pro or whatever)... You have 300 pages in the wp_posts table. Let's start from here then... The ACF plugin uses the wp_postmeta table to ...


4

To be ON TOPIC on the QUESTION (firefox) i dont think the approach to use delicious as intermediate step is preferred because: you lose the hierarhical taxonomy applied in firefox (they way you structured things) you lose the favicons as gathered in firefox you lose the information added by dividers between links you lose information on the order of ...


3

Unless there is a core Wordpress import filter available for your CMS ( see http://codex.wordpress.org/Importing_Content ) or a plugin for a CMS not covered by core WP ( see http://wordpress.org/extend/plugins/search.php?q=import ), or a Google search for your database schema doesn't reveal anything, you need to roll your own importer. The best way is to ...


3

Wordpress should behave the same, only dependent on your server resources. I hope you have a dedicated server because if not then you will experience severe outages and possibly cancellation of your hosting service. Wordpress is merely databases and PHP, so amount of files will not affect its use. It is stable. You could have a billion or trillion or ...


2

The "Cleanup uploads folder, Media Library db structure" Question has some plugin suggestions that might be related - albeit not exactly that doing what you ask for. But maybe the information is useful.


2

The correct place is the current setting I would say. So if you now use one upload folder (instead of years / month subfolders) go with that one (might get very full, but easier to sort. So just moving all files from the year / month subdirectories into the uploads directory and changing the URL-Paths in the database should normally do the job. After all is ...


2

Afaik: There's a (hidden?) button for TinyMCE that cleans up stuff imported from MS Word. You click the button insert (copy/paste) the stuff from Word and TinyMCE should do the rest. Second: You can export as XML from InDesign. Why not use that? Pulling in XML data should be much easier. I'm pretty sure that you could also add a new table in DB for the XML ...


2

Not my area, but this article made some splash in WP news recently - How To Run A News Site And Newspaper Using WordPress And Google Docs. It mentions InDesign integration as well (although in opposite direction, import from WordPress) and that all code is open source.


2

Googling for "split wxr file" returned several results, including python script for splitting .wxr file GUI for splitting WXR files (OSX and Windows) .Net splitter for WXR files Haven't tried any of these, but the comments look positive.


2

Try Search and Replace plugin which is A simple search for find strings in your database and replace the string. You can search in ID, post-content, GUID, titel, excerpt, meta-data, comments, comment-author, comment-e-mail, comment-url, tags/categories and categories-description.


2

Two things I could imagine: Check the post_modified value. Maybe import creates a definitive timestamp that you could use. You'll still have to save the import date somewhere so you can check against it. I do some post importing via a stream/HTTP response (this is not the native importer). During the import, I map my SysBot Plugin user to every post that ...


1

DomDocument is a PHP extension. It is either not installed or is disabled. You will need to install that module and/or enable it. You will need server level access to correct it. That is, you will need to be able to configure PHP. How you do that depends on what kind of server you have, so I am not sure what else to say at this point. Perhaps if you were ...


1

While I am not aware of import doing anything explicit to mark the posts, the possible indicators are: guid field, if posts weren't imported from same domain (or some other differentiation) post_id field, which is suggested by import_id during import and can result in possibly detectable block of IDs that are not sequential to natively created ones


1

Best thing to do is read the docs: http://codex.wordpress.org/Tools_Export_Screen and http://codex.wordpress.org/Importing_Content#WordPress and work with WXR files rather than trying to export directly from the database. You also have the option on Import to grab images. Or you can merge the contents of the three wp-content/uploads/ directories, but be ...


1

This is really more of a server admin question than Wordpress. Error logs and php.ini file locations can vary depending on the server OS. You need to change the upload and timeout limits for php. Do that either in the main php.ini file or enable php.ini in your web directory and try: max_execution_time = 120 max_input_time = 120 memory_limit = 128M ...


1

Very simple plugin to achieve this. Runs only on activation, so, if there are 5 CSV files, the plugin must be activated/deactivated five times. File: /wp-content/plugins/create-cats-from-csv/create-cats-from-csv.php <?php /* Plugin Name: Insert CSV Categories Version: 1.0 Description: Reads a CSV file on plugin activation and insert the ...


1

You can use a load testing tool like Loadzen.com, it features a chrome plugin that will let you parameterise your form post requests so you can easily start populating your site with data while also putting the application under increasing user load (using mixed behaviour scenarios), it's a pay-as-you-go tool so you should be able to get started with the ...


1

To answer your question... Yes, it's doable. But to give you some pointers into the right direction... I've known some folks who have had good success using the WordPress Importer plugin. You could conceivably export your geo data from your database (using whatever DB management tool you're comfortable with) to the import format that this plugin expects. ...


1

if you use the PHP-myadmin, you should EXPORT an sql dump of ALL your tables, and then IMPORT the same sql. If I understand correctly (and maybe I am wrong) you try to import CSV into an SQL dump .. that will not work in direct sql dump. after you have the sql dump, use the following : /** UPDATE wp_options SET option_value = REPLACE(option_value, ...


1

I think all you should need to do is export from WP as you normally would if you were just transferring the content. Download the resulting XML file, change all <wp:post_type>post</wp:post_type> entries to <wp:post_type>YOUR_CUSTOM_POST_TYPE</wp:post_type>. This should work, assuming your Custom Post Type is already registered in the ...


1

SOLVED!!!! Yes! Thank you so much buddy. I wish I had seen your post before!!! Meta_id 's must be CHRONOLOGICAL and CANNOT be arbitrary (i.e. random). data must be inserted into wp_mf_postmeta AND wp_postmeta these records relate to post_id, meta_id and the key-value stores of the data itself such where key would be "movietitle" and value would be "Die ...


1

I relentlessly searched and read until I found an answer! Turns out, the right thing to use is actually MetaWeblog API and XMLRPC, which you'll have to activate as it is disabled by default. First thing, visit the Settings menu in your admin panel and navigate to "Writing". Scroll down until you see the XML-RPC check box under "Remote Publishing". Once this ...


1

You should write a custom importer and register the custom fields before the import if WP doesn’t know them. I’ve written an importer for a CSV table with user data and custom user meta fields some time ago. It is quite old and all messages are in German – but it is still working. If you need just an example, I could put it online despite its embarrassing ...


1

As far as I know there is nothing native in WP to parse CSV files and stuffing this into database directly doesn't seem like a good idea either. You can parse your CSV with PHP, see fgetcsv() for starters. Then use update_user_meta() to create those values.


1

If it was me, I would worry more about the ability to get content out of InDesign, and not getting content into WordPress. Assuming you script data from an InDesign file into a middleware connector (PHP or anything else really), I think XML-RPC would definitely be the way to go to get that content into WordPress. Aside from that API being fully flushed out ...


1

I ended up writing a bunch of MySQL statements. My process went: Add users into wp_users. Add first name into wp_usermeta. Add last name into wp_usermeta. Add nickname into wp_usermeta. Add last activity into wp_usermeta. (This is important for BuddyPress; otherwise, users won't show up in the members-loop) Add name to BuddyPress. Add custom "phone" field ...


1

Maybe this is the answer: http://mansurovs.com/tech/wordpress-does-not-import-categories-and-tags (from there) : Make sure not to delete the original “Hello World!” post that gets automatically created by WordPress. If you have already deleted it, create a new dummy post that you can later delete. Make sure that the WordPress import process is successfully ...


1

@Jan Fabry: You are probably going to need to tackle each case separately, i.e. the Blogger hosted images and the ones outside wp-content, etc. Here's a plugin for importing from Blogger; it hasn't been updated in a while but may still work or at least have code you can use: Blogger Image Import Plugin (notes) There's also an older plugin that may or ...


1

I would use a plugin for that. When done, remove the plugin. This one by Dagon Design seems to do the trick, but it was not updated for wordpress 3. Don't know if it will work, so you migth want to try it on a sample wordpress.



Only top voted, non community-wiki answers of a minimum length are eligible