Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-05-29 17:44:06

Mobilizing Mouse
Member
From: Vancouver, BC, Canada
Registered: 2010-05-23
Posts: 22

Trying to import from Movable Type using both suggested automations...

Enjoying Textpattern already but….

I see there are two methods for importing

One is to import from the MT database

The second is via a text file

I’m getting repeated errors trying the database method:

mt database values don’t work. Please replace them and try again

Warning: mysql_connect() [function.mysql-connect]: Can’t connect to MySQL server on ‘retrix.net’ (4) in /usr/home/stephenhill/Websites/mobilizingmouse.com/mobilizingmouse/textpattern/include/import/import_mtdb.php on line 15

Warning: MySQL server has gone away select name from txp_category where parent=‘root’ and type=‘article’ order by name in /usr/home/stephenhill/Websites/mobilizingmouse.com/mobilizingmouse/textpattern/lib/txplib_db.php on line 85

Warning: MySQL server has gone away update txp_category set lft=1, rgt=2 where name=‘root’ and type=‘article’ in /usr/home/stephenhill/Websites/mobilizingmouse.com/mobilizingmouse/textpattern/lib/txplib_db.php on line 85

Warning: MySQL server has gone away select privs from txp_users where name = ‘Mobilizing Mouse’ in /usr/home/stephenhill/Websites/mobilizingmouse.com/mobilizingmouse/textpattern/lib/txplib_db.php on line 85

Warning: MySQL server has gone away select parentid, count(*) as thecount from txp_discuss where visible=1 group by parentid in /usr/home/stephenhill/Websites/mobilizingmouse.com/mobilizingmouse/textpattern/lib/txplib_db.php on line 85

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/home/stephenhill/Websites/mobilizingmouse.com/mobilizingmouse/textpattern/include/txp_import.php on line 206

*** *** ***

Trying the text file version, and following instructions, I created a file called import.txt in the import folder

But then what do I put in it?

The Textpattern instructions are as follows:

Importing systems via a text file (such as for Movable Type and Blogger) can be done by first exporting data into a text file, which in turn can be imported into Textpattern. Do this as follows:

1. Name the textfile import.txt and place the file in the directory located at /textpattern/include/import/. 2. Go to the Import subtab (the panel you are reading about now), and make the appropriate selections as described under the Controls section above (Figures 3 through 6). 3. Click the Continue button. Textpattern will use your text file import.txt and import it’s contents into the Textpattern database structure. You get a list of imported articles with a message at the end about the status of the action.

So how do I (quote)Importing systems via a text file (such as for Movable Type and Blogger) can be done by first exporting data into a text file(endquote)

Otherwise this means going into over 80 files and copying and pasting

Is this a time saver over simply slogging away and transferring everything manually?

I must be missing something!

Thanks in advance for any suggestions

Take care

Stephen


‘I can’t understand why people are frightened of new ideas. I’m frightened of the old ones.’
John Cage

Offline

#2 2010-05-29 18:01:40

Mobilizing Mouse
Member
From: Vancouver, BC, Canada
Registered: 2010-05-23
Posts: 22

Re: Trying to import from Movable Type using both suggested automations...

Update!

OK so I did get the import.txt method to work and I have all my posts transferred

I found the MT export function here:

http://www.movabletype.org/documentation/administrator/maintenance/import-export.html

System Overview>Tools>Export

Now, what’s missing are the images from MT some of which are ‘assets’ and others manual uploads

Where in Textpattern do I move the images to (I see two textpattern images in a folder called (gasp) ‘images’ or can I bulk import those too?

Thanks everyone

Take care

Stephen


‘I can’t understand why people are frightened of new ideas. I’m frightened of the old ones.’
John Cage

Offline

#3 2010-05-29 18:05:42

kvnmcwebn
Member
From: Ireland
Registered: 2007-01-27
Posts: 724
Website

Re: Trying to import from Movable Type using both suggested automations...

hi, this any good to you?

http://forum.textpattern.com/viewtopic.php?id=16040

i’ve used it a bit and it’s handy.


its a bad hen that wont scratch itself.
photogallery

Offline

#4 2010-05-29 18:29:15

Mobilizing Mouse
Member
From: Vancouver, BC, Canada
Registered: 2010-05-23
Posts: 22

Re: Trying to import from Movable Type using both suggested automations...

Kevin

Thanks a lot for that

I’ve installed the plugin, turned it to ‘Active’ but I’m still not seeing a away to select multiple images on the images screen

From the ‘help’ file I see
To use this plugin you have to create a folder import under your configured
images folder. Also the access rights of the folder must be changed to 0777.
This plugin tries to do this for you, but if it doesn’t succeed, you have to do
this manually.

Can you run this through a plain English filter for me

What does ‘under’ mean here?

Thanks!

Take care

Stephen


‘I can’t understand why people are frightened of new ideas. I’m frightened of the old ones.’
John Cage

Offline

#5 2010-05-29 18:40:38

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Trying to import from Movable Type using both suggested automations...

Mobilizing Mouse wrote:

What does ‘under’ mean here?

Like this: /images/import/

Offline

#6 2010-05-29 19:03:40

Mobilizing Mouse
Member
From: Vancouver, BC, Canada
Registered: 2010-05-23
Posts: 22

Re: Trying to import from Movable Type using both suggested automations...

Thanks, got that

Now I’m not being allowed to 777 the folder

Any suggestions?

Thanks

take care

Stephen


‘I can’t understand why people are frightened of new ideas. I’m frightened of the old ones.’
John Cage

Offline

#7 2010-05-30 17:21:48

Mobilizing Mouse
Member
From: Vancouver, BC, Canada
Registered: 2010-05-23
Posts: 22

Re: Trying to import from Movable Type using both suggested automations...

Update!

Thanks everyone for the help

This is the MT blog I’m moving from and trying to (almost) recreate

http://www.mobilizingmouse.com/cgi-bin/mt/mt-search.cgi?tag=Climate%20Change&blog_id=1

and this is the Textpattern version I am working on:

http://www.mobilizingmouse.com/mobilizingmouse/

*** *** ***

I got the import image technique working

I have a few more queries

1./ I see that if I create a new section it is then associated with a

So when I added the tags plugin the instructions

http://www.rainskit.com/reference/497/trutags-usage-instructions

include

Step 2: Call the plugin from that section

To make tag searching and the default tag cloud work, you’ll need to call <txp:tru_tags_handler /> from the page you chose in Step 1. I <b>replaced the default <txp:article /> with something like this:</b>

<txp:if_section name=“tag”> <txp:tru_tags_handler />
<txp:else /> <txp:article />
</txp:if_section>

Note that tru_tags_handler uses the default “search_form” form for rendering its output, or you can override this with the listform attribute.
Step 3: Configure your article form to display tags

To make each article show a list of all the tags associated with it, put someting like this in your article form:

<txp:tru_tags_if_has_tags> tags: <txp:tru_tags_from_article />
</txp:tru_tags_if_has_tags>

Step 4: Drop a custom tag cloud somewhere, if you want

If you’d like to show a tag cloud somewhere on your site (other than /tag/), put something like this in that page:

<txp:tru_tags_cloud />

(endquote)

so that seems to suggest it will alter the default, removing in all cases which can’t be right for other pages which use ‘default’

Clarification anyone?

2./ CSS and divs

I am used to working by hand with CSS

But I see some divs that don’t appear in the default CSS ‘#articles’ for example, which seems to set the width of the page within ‘body’

and hfeed I don’t see but does show when viewing the site by element (using webdeveloper)

A ‘#articles’ div doesn’t include some of my customization, the footer email image for example

Is there some hidden CSS I’m missing?

3./ Keywords and Categories

The tag cloud part of this I mention above

But I how see some of the categories show up ‘Politics’, ‘Addiction’ etc

But when I click on that link, expecting to see other items in that category all I see is a blank page

Any ideas what I’m missing?

4./ Finally (I doubt it…) is there a plugin or import facility to create both Monthly Archives and posts clustered in Categories as on my MT site?

Thanks!

Take care

Stephen


‘I can’t understand why people are frightened of new ideas. I’m frightened of the old ones.’
John Cage

Offline

Board footer

Powered by FluxBB