Re: ONIX feed

Lucas D Hedding <[email protected]> Tue, 24 Feb 2015 07:25:37 -0600
Newsgroups gmane.comp.php.drupal.support
Message-ID <CAAPYOemERxPRGWdWdXHYGYKaNBTshj-bH+UBigOEXSd2yB9wPQ@mail.gmail.com>
--===============7381824252599684575==
Content-Type: multipart/alternative; boundary=001a1139044c854f21050fd575d8

--001a1139044c854f21050fd575d8
Content-Type: text/plain; charset=UTF-8

I couldn't find anything that specifically supports ONIX. The closest was
https://www.drupal.org/sandbox/rbordallo/1998820. But I've
used Migrate before to import from XML and it is fairly straight forward.
Migrate has XML support and ONIX is XML. Or you can simply write your own
XML parser and import using entity API, which is how I handled the
situation last time I had to import from ONIX.

Here's three options, I hope one of them helps you.


Lucas
MTech, LLC <http://www.mtech-llc.com>

On Mon, Feb 23, 2015 at 9:15 PM, Ken Robinson <[email protected]> wrote:

> I'm looking for help in parsing and/or generating ONIX (see:
> http://www.editeur.org/8/ONIX/) feeds. These are used in the
> publishing industry.
>
> Thanks in advance,
>
> Ken Robinson
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>

--001a1139044c854f21050fd575d8
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I couldn&#39;t find anything that specifically supports ON=
IX. The closest was=C2=A0<a href=3D"https://www.drupal.org/sandbox/rbordall=
o/1998820">https://www.drupal.org/sandbox/rbordallo/1998820</a>. But I&#39;=
ve used=C2=A0Migrate=C2=A0before to import from XML and=C2=A0it is fairly s=
traight forward. Migrate has XML support and=C2=A0ONIX is XML. Or you can s=
imply write your own XML parser and import using entity API, which is how I=
 handled the situation last time I had to import from ONIX.<div><br></div><=
div>Here&#39;s three options, I hope one of them helps you.</div></div><div=
 class=3D"gmail_extra"><br clear=3D"all"><div><div class=3D"gmail_signature=
"><div dir=3D"ltr"><div><br></div>Lucas<div><a href=3D"http://www.mtech-llc=
.com" target=3D"_blank">MTech, LLC</a></div></div></div></div>
<br><div class=3D"gmail_quote">On Mon, Feb 23, 2015 at 9:15 PM, Ken Robinso=
n <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" target=3D"_bl=
ank">[email protected]</a>&gt;</span> wrote:<br><blockquote class=3D"gmail=
_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:=
1ex">I&#39;m looking for help in parsing and/or generating ONIX (see:<br>
<a href=3D"http://www.editeur.org/8/ONIX/" target=3D"_blank">http://www.edi=
teur.org/8/ONIX/</a>) feeds. These are used in the<br>
publishing industry.<br>
<br>
Thanks in advance,<br>
<br>
Ken Robinson<br>
<span class=3D"HOEnZb"><font color=3D"#888888">--<br>
[ Drupal support list | <a href=3D"http://lists.drupal.org/" target=3D"_bla=
nk">http://lists.drupal.org/</a> ]<br>
</font></span></blockquote></div><br></div>

--001a1139044c854f21050fd575d8--

--===============7381824252599684575==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-- 
[ Drupal support list | http://lists.drupal.org/ ]
--===============7381824252599684575==--