# Wordpress Migration

**URL:** <https://www.ruby-forum.com/t/wordpress-migration/76436>\
**Category:** Radiant CMS\
**Created:** [November 18, 2006, 9:07pm UTC](https://www.ruby-forum.com/t/wordpress-migration/76436 "2006-11-18T21:07:23Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christian\_Niles](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/ce73a5/32.png) [@Christian\_Niles](https://www.ruby-forum.com/u/Christian_Niles)\
**Post date:** [November 18, 2006, 9:07pm UTC](https://www.ruby-forum.com/t/wordpress-migration/76436/1 "2006-11-18T21:07:23Z")

</div>

Hi All,

I’m considering various Ruby-based CMSs to host a small company  
website and blog. The site is currently running on Wordpress, whose  
support for non-blog pages is an afterthought.

I like the somewhat seamless ability of Radiant to host both types of  
content, but before I dive in I wanted to ask whether there has been  
any experience migrating content from Wordpress into Radiant?  
Mephisto has a converter, which I’ve not yet tried:

[http://mephisto.stikipad.com/help/show/Converting+WordPress+to+Mephisto](http://mephisto.stikipad.com/help/show/Converting+WordPress+to+Mephisto)

Another question: suppose I wanted to manage a small database on the  
side, and needed to provide a basic UI to manage it. How hard is it  
to add an extra tab to Radiant’s admin UI?

Of course I’m happy to get dirty and write some of this code if  
necessary, but I need to figure out what I’m getting into first.

best,  
christian.

---

<div class="post-metadata">

**Author:** ![Christian\_Niles](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/ce73a5/32.png) [@Christian\_Niles](https://www.ruby-forum.com/u/Christian_Niles)\
**Post date:** [November 21, 2006, 2:03am UTC](https://www.ruby-forum.com/t/wordpress-migration/76436/2 "2006-11-21T02:03:01Z")

</div>

Christian Niles wrote:

> Another question: suppose I wanted to manage a small database on the  
> side, and needed to provide a basic UI to manage it. How hard is it  
> to add an extra tab to Radiant’s admin UI?

Presently it’s pretty difficult. The next version of Radiant will  
feature an extesion system which will allow this.

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

---

<div class="post-metadata">

**Author:** ![Christian\_Niles](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/ce73a5/32.png) [@Christian\_Niles](https://www.ruby-forum.com/u/Christian_Niles)\
**Post date:** [November 21, 2006, 2:13am UTC](https://www.ruby-forum.com/t/wordpress-migration/76436/3 "2006-11-21T02:13:04Z")

</div>

> Presently it’s pretty difficult. The next version of Radiant will  
> feature an extesion system which will allow this.

If you dig through the mail-list archives I think you will see this  
next version is supposed to be out sometime in January.

I just played with the extension system and was _really impressed_  
with how easy it was to drop existing rails code into Radiant.

So to do this db management you mentioned… it would only be a  
matter of generating the scaffold for the table via rails. Then  
generating the extension for Radiant. Then copy a few files and edit  
one file and viola!

Cheers-  
Michael

---

<div class="post-metadata">

**Author:** ![Christian\_Niles](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/ce73a5/32.png) [@Christian\_Niles](https://www.ruby-forum.com/u/Christian_Niles)\
**Post date:** [November 29, 2006, 5:29pm UTC](https://www.ruby-forum.com/t/wordpress-migration/76436/4 "2006-11-29T17:29:49Z")

</div>

I’m trying to keep all my Radiant content in a separate schema in my  
database.  
For instance, I’d like the layouts table to be ‘radiant.layouts’

Can anyone point me in the right direction?  
I’ve not yet tried anything in my development environment.

-Jim

---

<div class="post-metadata">

**Author:** ![Christian\_Niles](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/ce73a5/32.png) [@Christian\_Niles](https://www.ruby-forum.com/u/Christian_Niles)\
**Post date:** [November 29, 2006, 5:37pm UTC](https://www.ruby-forum.com/t/wordpress-migration/76436/5 "2006-11-29T17:37:53Z")

</div>

I believe changing the nomenclature of tables would be tough. Rails  
relies heavily on naming conventions to generate models and objects,  
so even though you can change the table names, it would entagle things  
for you.

If you don’t have CREATE privileges in the DB server, I suggest having  
your ISP or DBA create a new DB for radiant purposes.

---

<div class="post-metadata">

**Author:** ![Christian\_Niles](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/ce73a5/32.png) [@Christian\_Niles](https://www.ruby-forum.com/u/Christian_Niles)\
**Post date:** [November 29, 2006, 5:31pm UTC](https://www.ruby-forum.com/t/wordpress-migration/76436/6 "2006-11-29T17:31:51Z")

</div>

You would set the database as “radiant” in your config/database.yml. Is  
this what you’re asking?

Sean C.  
[seancribbs.com](http://seancribbs.com)

---

<div class="post-metadata">

**Author:** ![Christian\_Niles](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/ce73a5/32.png) [@Christian\_Niles](https://www.ruby-forum.com/u/Christian_Niles)\
**Post date:** [November 29, 2006, 5:39pm UTC](https://www.ruby-forum.com/t/wordpress-migration/76436/7 "2006-11-29T17:39:54Z")

</div>

> On 11/29/06, Jim G. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:  
> I’m trying to keep all my Radiant content in a separate schema in my  
> database.  
> For instance, I’d like the layouts table to be ‘radiant.layouts’
> 
> Can anyone point me in the right direction?  
> I’ve not yet tried anything in my development environment.
> 
> -Jim

On Nov 29, 2006, at 11:30, Sean C. wrote:

> You would set the database as “radiant” in your config/  
> database.yml. Is this what you’re asking?
> 
> Sean C.  
> [seancribbs.com](http://seancribbs.com)

I’m building some other rails applications in a database called “Dev”  
and I want all my tables for one application to be in the “app”  
schema. So for example I’d have the table “app.users” in the “Dev”  
database and I want to have “randiant.layouts” in the same “Dev”  
database.

---

<div class="post-metadata">

**Author:** ![Christian\_Niles](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/ce73a5/32.png) [@Christian\_Niles](https://www.ruby-forum.com/u/Christian_Niles)\
**Post date:** [November 29, 2006, 6:08pm UTC](https://www.ruby-forum.com/t/wordpress-migration/76436/8 "2006-11-29T18:08:02Z")

</div>

My apologies. I am using MS SQL Server and I had forgotten to set the  
default schema for my user  
I changed it to my ‘radiant’ schema and redid the setup\_database  
All is well. Sorry for using up the bandwidth.

Thanks very much for the help.

---

<div class="post-metadata">

**Author:** ![Christian\_Niles](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/ce73a5/32.png) [@Christian\_Niles](https://www.ruby-forum.com/u/Christian_Niles)\
**Post date:** [November 29, 2006, 6:30pm UTC](https://www.ruby-forum.com/t/wordpress-migration/76436/9 "2006-11-29T18:30:10Z")

</div>

Great! Hopefully I’ll get some time to do this soon. I assume from  
the responses that I can play around with the system if I start using  
the development version from the repository?
