Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-04-06 18:34:56

Tzefa
New Member
Registered: 2006-04-06
Posts: 2

Importing existing HTML pages into textpattern?

Hello,

I was looking for an CMS for my website and textpattern seems to fit the bill pretty well… however I’m facing a considerable problem – we have a very large number of articles in HTML, and so far I couldn’t find a way to actually import them into textpattern’s categories.
Is there a plugin/mod that would allow me to copy/paste ready HTML instead of text into Textile, for example?
Or any other possible way?

Thanks!

Offline

#2 2006-04-06 18:46:02

marios
Archived Plugin Author
Registered: 2005-03-12
Posts: 1,253

Re: Importing existing HTML pages into textpattern?

Not sure if I understood your question well, but for single articles, you can switch textile on and off, right left
of your text area under article write. Select leave text untuched and it will be left untuched.
Under admin prefs you can set that globally too.
Ifyou meant bulk inserting of multiple inserts from an other publishing tool you can choose from the options there is under admin / import.

regards, marios


⌃ ⇧ < ⌃ ⇧ >

Offline

#3 2006-04-06 19:25:10

Tzefa
New Member
Registered: 2006-04-06
Posts: 2

Re: Importing existing HTML pages into textpattern?

Here’s the thing – I have at least 150 articles, each one is an HTML page with text, images, links, some javascript, etc.,
They are not in a database and were not created by a publishing tool – just static HTML pages.
When I just copy/paste the text into Textile (with or without the formatting) I obviously lose everything else.
So I have to either to install a WYSIWYG plugin and rebuild each article anew – copy the text, include the pictures, the links, and everything else…
Or to find a way to import them into textpattern as HTML.

Offline

#4 2006-04-06 19:36:20

KurtRaschke
Plugin Author
Registered: 2004-05-16
Posts: 275

Re: Importing existing HTML pages into textpattern?

Tzefa, I think you may be mistaken as to Textile’s interaction with HTML. HTML passed through Textile should come through just fine; Textile will not maul existing markup. Furthermore, you can disable Textile on a per-article basis, or globally, in the event that it does interfere with existing markup. In either case you could paste raw HTML into the article entry screen and it would be stored and displayed with no further modification. You would still have to upload images to TXP, and see that images and links between pages have their destinations adjusted as needed.

-Kurt


kurt@kurtraschke.com

Offline

Board footer

Powered by FluxBB