ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

XMLGrab

January 10, 2011 6:02pm

Subscribe [1]
  • #1 / Jan 10, 2011 6:02pm

    4ksner

    12 posts

    Hi all! I need help with plugin XMLGrab.
    I trying import Wordpress XML file. I had this code:

    {exp:xmlgrab url="http://mysite.com/templates/history.xml" 
                              itempath="/rss/channel/item"
                              weblog="2" 
                              author="1"
                              title="title"
                              date="date_pub"
                              use="title|link|content"
                              fields="title|url_title|text_news"
                              category_group="4"
                              unique="titleā€}

    Import finished successful.
    Title, URL and Text - OK! Trouble with Date. After import, date in post is current date.
    This code with Date from XML:

    <date_pub>2006-05-09 13:09:03</date_pub>

    Please help me, and sorry if I posted in the wrong section.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases