Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-06-30 07:30:45

FireFusion
Member
Registered: 2005-05-10
Posts: 698

Importing pages from another database?

We’re using Textpattern for quite a large number of sites for a non-profit, all the sites are there own site but they require a section of generic pages that will be updated every so often by the governing body. Also the sites use an separate event manager that makes pages on events and does a number of other things for them.

At the moment the only way they could think of for getting these pages displaying and working with the auto generated menus is to make a new article and put PHP to include a generated file on the server.

I was wondering if there is a better way to do this, perhaps using XML-RPC? The requirements are that we need to be able to update generic articles by just editing them on the main database. Also the event manager needs to be able to make/update articles.

Offline

#2 2007-07-01 13:11:05

bortzmeyer
Member
Registered: 2007-06-08
Posts: 14

Re: Importing pages from another database?

Possible solutions I see (but I did not test them so be careful):

  • syndication, if the “main database” publishes its content in Atom or RSS.
  • XML-RPC, as you mentioned, if you can afford a bit of programming on the “main database”

Offline

#3 2007-07-01 17:51:47

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: Importing pages from another database?

The way we ran neme.org is by using simplepie and its txp plugin…
the page just gets its content from 2 other txp installations and a punbb forum…
We also have a cron script deleting simplepie’s cache once every 8 hours.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB