Turn RSS into array, explode the 'description' and insert words into MySQL table one per row
Posted
by K.I
on Stack Overflow
See other posts from Stack Overflow
or by K.I
Published on 2010-05-13T16:03:28Z
Indexed on
2010/05/13
16:14 UTC
Read the original article
Hit count: 381
I have only recently gotten into php and MySQL and I want to take an RSS feed, turn it into an array, take only the description part of the XML, explode it and insert it into a table on a MySQL base.
I feel like this should be possible, but is a little over my head right now. I tried using magpie as a parser, but if possible I want to do it in simpler php code.
The result I am looking for would take a description "This is a cat" and insert it into a table with two fields
ID term
1 This
2 is
3 a
4 cat
I've been stumped on this for a couple days. Any help would be great.
© Stack Overflow or respective owner