<![CDATA[ Support for ParseX - MODX Community Forums]]> https://forums.modx.com/thread/?thread=98600 <![CDATA[Support for ParseX]]> https://forums.modx.com/thread/98600/support-for-parsex?page=2#dis-post-533185
this is the official support channel for ParseX for MODX revolution. As you found it, I assume you have an issue with it.

Link to MODX repository: http://modx.com/extras/package/parsex
Current Version: 1.0.1-pl
Works with: any version of Revolution, I guess

What does ParseX do?
It reads a rss feed or other xml file and puts its contents into MODX placeholders so you can use them in your templatesor chunks.

Hot do I get help?
Please let me know what you are trying to do, how you noticed that it doesnt work the way you want it to and what you have tried until this moment to solve it.

Cheers!]]>
gallenkamp Oct 14, 2015, 12:49 PM https://forums.modx.com/thread/98600/support-for-parsex?page=2#dis-post-533185
<![CDATA[Re: Support for ParseX]]> https://forums.modx.com/thread/98600/support-for-parsex?page=2#dis-post-562328
I didn't take care ybout the cache. So I guess(?) it will be cached like a ressource. But please don't rely on that. I am using the extra on my own websites and it served my well in the past years. I didn't test it for cache times.

Someone sent me an upgraded version of the extra, but I didnt publish it yet. I cant remember who it was and I didt take the time to check if it works the same way. I will go searching now smiley

Best regards

Guido]]>
gallenkamp Oct 24, 2018, 06:52 PM https://forums.modx.com/thread/98600/support-for-parsex?page=2#dis-post-562328
<![CDATA[Re: Support for ParseX]]> https://forums.modx.com/thread/98600/support-for-parsex?page=2#dis-post-562318
Amazing extra btw.]]>
ilja-web Oct 24, 2018, 08:47 AM https://forums.modx.com/thread/98600/support-for-parsex?page=2#dis-post-562318
<![CDATA[Re: Support for ParseX]]> https://forums.modx.com/thread/98600/support-for-parsex?page=2#dis-post-547215
Yes I tried but I get an empty template. The problem seems to be that I dont know what to put in "xmlTpl" and "wrapper". Im an absolute beginner in grabbing XML. Maybe you have an example. Thanks!]]>
sspind Dec 12, 2016, 11:25 AM https://forums.modx.com/thread/98600/support-for-parsex?page=2#dis-post-547215
<![CDATA[Re: Support for ParseX]]> https://forums.modx.com/thread/98600/support-for-parsex?page=2#dis-post-543047
did you try grabbing "RecurringEvents" instead of "item"?

	
[[!parsex? &source=`https://events.dwbn.org/api/opencms/de/mannheim/` &tpl=`xmlTpl` &element=`RecurringEvents` &wrapper=`wrapX` &debugmode=`true`]]
]]>
gallenkamp Jul 05, 2016, 08:29 AM https://forums.modx.com/thread/98600/support-for-parsex?page=2#dis-post-543047
<![CDATA[Re: Support for ParseX]]> https://forums.modx.com/thread/98600/support-for-parsex?page=2#dis-post-543036
Please one question to "parsex". I try to import https://events.dwbn.org/api/opencms/de/mannheim/xml which seems to be a valid xml source via

[[!parsex? &source=https://events.dwbn.org/api/opencms/de/mannheim/ &tpl=xmlTpl &element=item &wrapper=wrapX &debugmode=true]]
.

The parsex - standard example worked at my system but it was RSS. Does it make any difference? What do I do wrong?]]>
sspind Jul 05, 2016, 03:22 AM https://forums.modx.com/thread/98600/support-for-parsex?page=2#dis-post-543036
<![CDATA[Re: Support for ParseX]]> https://forums.modx.com/thread/98600/support-for-parsex?page=2#dis-post-540315 Quote from: BobRay at Apr 09, 2016, 10:29 PM
Let's back up. wink

I didn't mean to hijack gallenkamp's topic. It may be possible to do what you want with ParseX, but if you want to look at other options, we should be in a new topic.

Because your search is very simple, I think you could import your data into Resources (maybe with the help of ParseX), put the month and date in, say, the description field and use TVs and regular resource fields for the other information. Then you could use getResources or pdoResources to retrieve the quotes you want. If you want more info on that approach, please start a new topic.

Hi Bob, yes you are correct, we've kinda deviated from the thread topic.
I'm currently configuring migxdb (which is flying off on another tangent!), when I get to the stage of displaying the required info onto a webpage I will start a new topic with a focus solely on the question I want to ask.
Thanks for sharing your input, it was appreciated]]>
jimmyjazz Apr 09, 2016, 09:51 PM https://forums.modx.com/thread/98600/support-for-parsex?page=2#dis-post-540315
<![CDATA[Re: Support for ParseX]]> https://forums.modx.com/thread/98600/support-for-parsex#dis-post-540311

I didn't mean to hijack gallenkamp's topic. It may be possible to do what you want with ParseX, but if you want to look at other options, we should be in a new topic.

Because your search is very simple, I think you could import your data into Resources (maybe with the help of ParseX), put the month and date in, say, the description field and use TVs and regular resource fields for the other information. Then you could use getResources or pdoResources to retrieve the quotes you want. If you want more info on that approach, please start a new topic.

]]>
BobRay Apr 09, 2016, 05:29 PM https://forums.modx.com/thread/98600/support-for-parsex#dis-post-540311
<![CDATA[Re: Support for ParseX]]> https://forums.modx.com/thread/98600/support-for-parsex#dis-post-540305
<model package="quotes" baseClass="xPDOObject" platform="mysql" defaultEngine="MyISAM" version="1.1">
<object class="BirthdayQuotes" table="birthday_quotation" extends="xPDOSimpleObject">
<field key="id" dbtype="int" precision="25" phptype="integer" null="false" default=""/>
<field key="quote" dbtype="mediumtext" null="false" default=""/>
<field key="author" dbtype="varchar" precision="200" phptype="string" null="false" default=""/>
<field key="topic" dbtype="varchar" precision="20" phptype="string" null="true"/>
<field key="birthday" dbtype="varchar" precision="20" phptype="string" null="false" default=""/>
<field key="month" dbtype="varchar" precision="20" phptype="string" null="false" default=""/>
<field key="date" dbtype="varchar" precision="20" phptype="string" null="false" default=""/>

    <field key="publishedby" dbtype="int" precision="25" phptype="integer" null="false" default="0" />
 
    <index alias="PRIMARY" name="PRIMARY" primary="true" unique="true">
        <column key="id" collation="A" null="false" />
    </index>
         
        <aggregate alias="Resource" class="modResource" local="resource_id" foreign="id" cardinality="one" owner="foreign" />
        <aggregate alias="Creator" class="modUser" local="createdby" foreign="id" cardinality="one" owner="foreign" />
</object>
</model>


Would this be correct?

If no what do I need to adjust?

If it is correct, how do I test it or what do I do with it next?]]>
jimmyjazz Apr 09, 2016, 08:21 AM https://forums.modx.com/thread/98600/support-for-parsex#dis-post-540305
<![CDATA[Re: Support for ParseX]]> https://forums.modx.com/thread/98600/support-for-parsex#dis-post-540302
I fail when try to use your zip code for CreateXpdoClasses.

After name the snippet CreateXpdoClasses i c&p the code in and after save I just see a blank screen.

I then changed the prefix to birthday_ and still the same blank screen.

I try to use this reverse engineering script also:

https://rtfm.modx.com/revolution/2.x/case-studies-and-tutorials/reverse-engineer-xpdo-classes-from-existing-database-table

This just fail also, I don't think I edit the fields correctly.]]>
jimmyjazz Apr 09, 2016, 05:16 AM https://forums.modx.com/thread/98600/support-for-parsex#dis-post-540302