Advertisement:

Author Topic: Be nice for a way to import data, either RSS or XML  (Read 1181 times)

iamdamnsam

  • Jr. Member
  • **
  • Posts: 87
  • Zombie Proof Yourself
Be nice for a way to import data, either RSS or XML
« on: February 25, 2012, 07:50:00 pm »
I have been trying to do this, I wrote a script to pull an RSS feed, parse the data and try to submit it via mysql but it errors because of region ID or city ID.  It would be nice if there was an easier way to do this.

I am doing this so my classifieds doesn't look so bare.  But since you have to have a username, contact info, location, etc it makes this a pain.  Is there an easier way to do this?

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: Be nice for a way to import data, either RSS or XML
« Reply #1 on: February 27, 2012, 12:48:06 pm »
You could leave "null" on those variables (location), but username and email is needed. Just made up something like "Fake Name" and fake@email.com for example.

iamdamnsam

  • Jr. Member
  • **
  • Posts: 87
  • Zombie Proof Yourself
Re: Be nice for a way to import data, either RSS or XML
« Reply #2 on: February 27, 2012, 05:34:39 pm »
I thought I tried that, I will give it another try.