PDA

View Full Version : Problems with Onfolio XML Import


maynard
05-14-2006, 02:50 PM
I ran the Onfolio import procedures posted here (http://www.kinook.com/Forum/showthread.php?threadid=1074&highlight=onfolio)
and the XML attribute mapping was unuseable. Rather than displyang the Onfolio attribute NAMES, UR displayed the item name VALUES for each item in the collection.

Folllowing isn Onfolio XML snip for a folder and an item. What was actually listed in the UR XML map dialog was the
item name string ". designmojo - Configuring Dreamweaver MX, Tomcat and Java"

I was expecting that the UR import dialog would have instead listed the XML attributes names instead as follows:
folder
item
comment
flag
url
sourceurl
search
author
copyright
keywords
datecaptured
datemodified
dateaddedtofolder
htmldata
publishUrl
absolutePublishUrl
custom (user definebale)

Maybe for the "custom" field or any other unknown data type you could just dump the raw xml into a text field in UR.

Thanks
Maynard

------------------------------------------
<folder collectionid="8ba1c9a4-d1c8-4082-bb39-9ef05219b6ec" id="bdb1dd20-6afe-4489-9ff0-e61441068531" name="Dreamweaver">
<item collectionid="8ba1c9a4-d1c8-4082-bb39-9ef05219b6ec" id="5053494f-322a-4c74-b852-521f7206302e" name=". designmojo - Configuring Dreamweaver MX, Tomcat and Java" type="page">
<comment />
<flag type="None" importance="0" sort="7">None</flag>
<url>http://www.designmojo.com/java/tomcatjsptutorial.php</url>
<sourceurl />
<search provider="Google" url="http://www.google.com/search?q=Dreamweaver+Tomcat&amp;sourceid=mozilla-search&amp;start=0&amp;start=0&amp;ie=utf-8&amp;oe=utf-8&amp;client=firefox-a&amp;rls=org.mozilla:en-US:official">Dreamweaver Tomcat</search>
<author />
<copyright />
<keywords />
<datecaptured>2005-02-09T13:16:35-08:00</datecaptured>
<datemodified>2005-02-09T13:17:11-08:00</datemodified>
<dateaddedtofolder>2005-02-09T13:17:11-08:00</dateaddedtofolder>
<custom>
<field>
<name>Custom 1</name>
<value />
</field>
<field>
<name>Custom 2</name>
<value />
</field>
<field>
<name>Custom 3</name>
<value />
</field>
<field>
<name>Custom 4</name>
<value />
</field>
<field>
<name>Custom 5</name>
<value />
</field>
<field>
<name>Custom 6</name>
<value />
</field>
</custom>
<htmldata>Tech Data_files/e94. designmojo - Configuring Dreamweave.htm</htmldata>
<publishUrl>Tech%20Data_files/e94.%20designmojo%20-%20Configuring%20Dreamweave.htm</publishUrl>
<absolutePublishUrl>Tech%20Data_files/e94.%20designmojo%20-%20Configuring%20Dreamweave.htm</absolutePublishUrl>
</item>
</folder>

kinook
05-15-2006, 11:16 AM
The XML method in the FAQ was added based on this forum post:
http://www.onfolio.com/support/forums/messageview.cfm?catid=10&threadid=1184&forumid=1

where a user indicated they were able to import XML exported from Onfolio. Perhaps they have an XSLT file that will convert Onfolio's format to what UR expects?

We have tested the separate files method, and it seems to work ok.