MOD: XML4WCMS

Post custom hacks and enhancements for phpwcms here only. Maybe some of these things will be included in official release later.
Post Reply
cguenther
Posts: 111
Joined: Sun 11. Jan 2004, 12:41
Location: Halle, Germany
Contact:

MOD: XML4WCMS

Post by cguenther »

A new mod is developed by eMedia)Fabrik.

It's call xml4wcms and gives you the oppertunity to insert external or local xml-files with an replacemen-tag in your content.

You can insert e.g. RSS-feeds, Docbook or other XML-content with an XSL-stylesheet in your website.

check it out @ http://www.emediafabrik.de/index.php?de ... d_xml4wcms
Last edited by cguenther on Tue 16. Nov 2004, 10:31, edited 1 time in total.
cmslover
Posts: 86
Joined: Wed 18. Feb 2004, 16:17
Location: USA, Georgia, Atlanta
Contact:

Post by cmslover »

Cool link, thanks! :o

Edit: Visited the site but there is no English? :cry:
cguenther
Posts: 111
Joined: Sun 11. Jan 2004, 12:41
Location: Halle, Germany
Contact:

Post by cguenther »

Sorry, the page is only german.

Demo:
RSS-Feed Import http://www.vanossy.de/index.php?id=13,53,0,0,1,0
Docbook Import http://www.vanossy.de/index.php?id=19,56,0,0,1,0

I hope that could help.
Last edited by cguenther on Tue 16. Nov 2004, 10:32, edited 1 time in total.
jmeyknecht
Posts: 112
Joined: Sun 11. Jan 2004, 23:13
Location: Merseburg, Germany
Contact:

Post by jmeyknecht »

there is an english how to in the package.

if any questions, use mail or this forum thread.
kelley
Posts: 33
Joined: Thu 13. May 2004, 08:02

Post by kelley »

Hello,

I am trying to add news feeds to a site and seem to be running into a little problem with the mod. I did exactly as the howto.txt reads and tryed it wth Heise Newsticker:
{XML:http://www.heise.de/newsticker/heise.rdf:heise.xsl}

But it give back a error. javascript:emoticon(':cry:')

Fatal error: Call to undefined function: xslt_create() in /home/content/k/e/l/kelleylaw/html/include/inc_front/front.func.inc.php on line 1990

Here are the lines of code that seem to be causing the error.

Code: Select all

$xsltref=xslt_create();
$xhtml=xslt_process($xsltref,'arg:/_xml', $stylesheet, NULL, $args);
xslt_free($xsltref);
Can anyone show me what is wrong? I wish I was better at coding :-(

Thanks for the help.[/b]
jmeyknecht
Posts: 112
Joined: Sun 11. Jan 2004, 23:13
Location: Merseburg, Germany
Contact:

Post by jmeyknecht »

seems, that no xslt_processor is running @ your webspace

check your phpinfo in the backend for xslt.

if your provider has xslt support, you will read something like:
XSLT support enabled
Backend Sablotron
Sablotron Version 1.0
kelley
Posts: 33
Joined: Thu 13. May 2004, 08:02

Post by kelley »

I don't see XSLT support on the backend. Is there anyway to run this mod without it?
jmeyknecht
Posts: 112
Joined: Sun 11. Jan 2004, 23:13
Location: Merseburg, Germany
Contact:

Post by jmeyknecht »

nope. it requires a xslt processor.

if php5 is more common on webservers, maybe there will be a version that uses php5s simple-xml-functions...
Post Reply