Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#31 2008-03-11 13:04:17

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: [plugin] jk_parse_xml: get data from XML feeds

Vitruvius, what PHP version are you using?

Offline

#32 2008-03-11 21:47:30

Vitruvius
Plugin Author
Registered: 2004-09-21
Posts: 125

Re: [plugin] jk_parse_xml: get data from XML feeds

Hi Gocom – I’m using PHP v5.2.4, mySQL v4.1.22-standard

I have got the jk_parse_xml plugin working but only using a local file (so I update this using a cron job). The plugin displays the ‘tour’ events on architecture.org.au

Jeff – I had a look to make a donation to your project – but the donation form is showing a 404…

SH

Offline

#33 2008-03-13 19:22:25

Jeff_K
Archived Plugin Author
From: Vancouver, British Columbia
Registered: 2005-08-19
Posts: 202
Website

Re: [plugin] jk_parse_xml: get data from XML feeds

Vitruvius, can you try v0.42: http://jeffkhonsary.com/plugindev/jk_parse_xml.php and see if that works?

Jeff

Offline

#34 2008-03-13 22:03:18

Vitruvius
Plugin Author
Registered: 2004-09-21
Posts: 125

Re: [plugin] jk_parse_xml: get data from XML feeds

Jeff – well done – that worked a treat.

Threw an initial permission denied error. I CHMODed the /textpattern/cache/ directory from its 755 to 777 and the plugin works a treat.

Perfect!

S

Offline

#35 2009-08-14 06:35:51

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 859
Website

Re: [plugin] jk_parse_xml: get data from XML feeds

Just found this as I was looking at xml today – but I have a few questions.

1 – Some of the remote feeds I was looking at were gzip’d… these didn’t work, so I am presuming that I would need to unzip these before using them.

2 – Say if I’m using a merchants product feed – would there be a way of splitting the feed into the feed categories and display them in txp categories? I’m looking at txp:variable at the mo… just wondering if it is possible with the plugin.

nm… just thinking out loud now… so I’ll leave it there for the moment

Offline

#36 2009-12-17 00:31:04

360oasis
New Member
From: Fresno
Registered: 2009-12-17
Posts: 6
Website

Re: [plugin] jk_parse_xml: get data from XML feeds

It looks as if this plugin has been abandoned, but it looks great for what I need… If I could get it working. Does anyone have any examples of the contents inside the form that it references?

In my page I have
<txp:jk_parse_xml xml=“http://calendar.peopleschurch.org/category/high-school/feed” local_file=“0” form=“event_display” parents=“channel” elements=“title” />

and in “event_display” I have

<txp:jk_xml_element name=‘title’>

The plugin returns a ordered list with a single item, but no title… What am I doing wrong?

Offline

#37 2009-12-17 04:50:27

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: [plugin] jk_parse_xml: get data from XML feeds

there are a few simplepie based plugins which might do what you need


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#38 2009-12-17 16:15:12

Jeff_K
Archived Plugin Author
From: Vancouver, British Columbia
Registered: 2005-08-19
Posts: 202
Website

Re: [plugin] jk_parse_xml: get data from XML feeds

3600asis, To work with your code, you need to set parent to “item”. Then the plugin should work.

Offline

#39 2009-12-21 07:23:15

360oasis
New Member
From: Fresno
Registered: 2009-12-17
Posts: 6
Website

Re: [plugin] jk_parse_xml: get data from XML feeds

On both installs I’ve tried it on the plugin generates an empty class=“xml-feed” with the correct number of entries for the feed. The reason my example includes channel was an attempt to grab the title of a feed. But as I said, it’s empty.

Offline

Board footer

Powered by FluxBB