# TXP to Radiant

**URL:** <https://www.ruby-forum.com/t/txp-to-radiant/80506>\
**Category:** Radiant CMS\
**Created:** [December 28, 2006, 1:08am UTC](https://www.ruby-forum.com/t/txp-to-radiant/80506 "2006-12-28T01:08:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gareth\_rushgrove](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/34f0e0/32.png) [@gareth\_rushgrove](https://www.ruby-forum.com/u/gareth_rushgrove)\
**Post date:** [December 28, 2006, 1:08am UTC](https://www.ruby-forum.com/t/txp-to-radiant/80506/1 "2006-12-28T01:08:13Z")

</div>

Hi All

Just came upon Radiant and am busy porting my site as rapidly as  
possible. Just wondering if their are any handy scripts for moving  
textpattern posts to radiant. I’m not looking to maintain everything,  
just move all my posts into radiant as children of a single page. A  
quick database looks brings up the following, with radiant table  
details on the left and textpattern on the right.

I ask before I get stuck in to some scripting, which if I do will make  
sure to make available just in case.

id  
title {Title}  
slug {Title\_html}  
breadcrumb {Title\_html}  
parent\_id 2  
layout\_id NULL  
behavior\_id  
status\_id 100  
created\_at {Posted}  
updated\_at {LastMod}  
published\_at {Posted}  
created\_by 1  
updated\_by 1  
virtual 0

id  
name body  
filter\_id  
content {body\_html}  
page\_id

Thanks in advance

G

–  
Gareth Rushgrove  
[morethanseven.net](http://morethanseven.net)  
[webdesignbookshelf.com](http://webdesignbookshelf.com)  
[refreshnewcastle.org](http://refreshnewcastle.org)

> **[Domain is Parked](http://frontendarchitecture.com)**
>
> This domain is parked at DreamHost

---

<div class="post-metadata">

**Author:** ![gareth\_rushgrove](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/34f0e0/32.png) [@gareth\_rushgrove](https://www.ruby-forum.com/u/gareth_rushgrove)\
**Post date:** [December 28, 2006, 1:54am UTC](https://www.ruby-forum.com/t/txp-to-radiant/80506/2 "2006-12-28T01:54:19Z")

</div>

Unfortunately, I don’t believe there are really many converters built  
to do it. Even though there is some inspiration taken from TxP,  
Radiant is a different monster. It isn’t necessarily intended for  
blogs (even John uses Mephisto for his blog), so comments and things  
may be something of a chore to port over beings it requires a custom  
behavior to implement them. For a company website, it kicks ass.

One thing to consider if you do code one up yourself, is to probably  
have some trigger to look for a specific section in the TxP database  
to port into a certain area of the Radiant database. Once an  
article/child is placed, it can’t be moved easily. If you do manage to  
come up with something, I am sure several will be able to make use of  
it though.

I am currently building a couple sites in Radiant (my business site  
and one for a local group of comic artists). I am taking it slow right  
now and building out sites I know will work and using the plugins that  
are available to see what I can do.

On 12/27/06, gareth rushgrove [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> sure to make available just in case.  
> updated\_at {LastMod}
> 
> Thanks in advance
> 
> G

–  
Al Steffen

> **[Zarabadoo.com - Creatively Geeking](http://www.zarabadoo.com/home/)**
>
> The homepage of Albert Steffen and showcase of his art and life.

[http://www.zar-art.com](http://www.zar-art.com)  
removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![gareth\_rushgrove](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/34f0e0/32.png) [@gareth\_rushgrove](https://www.ruby-forum.com/u/gareth_rushgrove)\
**Post date:** [December 28, 2006, 2:02am UTC](https://www.ruby-forum.com/t/txp-to-radiant/80506/3 "2006-12-28T02:02:22Z")

</div>

Hi Al

On 28/12/06, Al Steffen [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Unfortunately, I don’t believe there are really many converters built  
> to do it. Even though there is some inspiration taken from TxP,  
> Radiant is a different monster. It isn’t necessarily intended for  
> blogs (even John uses Mephisto for his blog), so comments and things  
> may be something of a chore to port over beings it requires a custom  
> behavior to implement them. For a company website, it kicks ass.

Agree from impressions so far. On the Textpattern front I’m not too  
bothered about comments and the whole blog setup - I’m planning on  
moving about 100 posts across as children of an articles page. I  
reckon this will cover the majority of cases of this sort of migration

- at least as far as anything non bespoke could. Anyway, I’ll get it  
to do what I need to do and then expand if anyone else ever needs it.

> One thing to consider if you do code one up yourself, is to probably  
> have some trigger to look for a specific section in the TxP database  
> to port into a certain area of the Radiant database. Once an  
> article/child is placed, it can’t be moved easily. If you do manage to  
> come up with something, I am sure several will be able to make use of  
> it though.

I’ll make sure to post on my site, as well as on here, if and when I  
get somewhere.

G

> > possible. Just wondering if their are any handy scripts for moving  
> > slug {Title\_html}  
> > virtual 0

–  
Gareth Rushgrove  
[morethanseven.net](http://morethanseven.net)  
[webdesignbookshelf.com](http://webdesignbookshelf.com)  
[refreshnewcastle.org](http://refreshnewcastle.org)

> **[Domain is Parked](http://frontendarchitecture.com)**
>
> This domain is parked at DreamHost

---

<div class="post-metadata">

**Author:** ![gareth\_rushgrove](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/34f0e0/32.png) [@gareth\_rushgrove](https://www.ruby-forum.com/u/gareth_rushgrove)\
**Post date:** [December 28, 2006, 3:08am UTC](https://www.ruby-forum.com/t/txp-to-radiant/80506/4 "2006-12-28T03:08:33Z")

</div>

A few corrections below w/ asterisks. Best of luck, please document/  
script the process if you can!

-jamie

---

<div class="post-metadata">

**Author:** ![gareth\_rushgrove](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/34f0e0/32.png) [@gareth\_rushgrove](https://www.ruby-forum.com/u/gareth_rushgrove)\
**Post date:** [December 28, 2006, 3:20am UTC](https://www.ruby-forum.com/t/txp-to-radiant/80506/5 "2006-12-28T03:20:37Z")

</div>

gareth rushgrove wrote:

> I’ll make sure to post on my site, as well as on here, if and when I  
> get somewhere.

Please do a write something up on this. If you do a good job on it I’ll  
include it in the core.

–  
John L.  
[http://wiseheartdesign.com](http://wiseheartdesign.com)
