Welcome to Solent Renegades Car Club, a friendly UK Classic American website.We aim to cater for a wider range of vehicles, cars, day vans, hot rods and bikes.
Chat in the Forum, take a look at the The Garage. Why not register and give it a try. Did we mention it was FREE ???

Disabled a day or so ago. It's fetching data, but not storing, perhaps database permissions or file access due to moving servers, will look at this and re-enable. There was some interesting articles and cars for sale popping up in there.

Been looking at this all evening. Debugging many areas. It's getting stored as files and in the database correctly. However the generation of the XML file is adding <head/> near the top for the fun of it just to bugger things up.

The <head/> should not be there, it is confusing the XML reader(part of vbulletin) so how did it get there? Well its not in the source code. I have even written it as plain text, but when it gets passed though the system to be displayed as a page, it somehow gets added. There are slight variations of PHP versions between my testing server and the webserver.

I have an idea, and it will certainly make things more efficient too.

The articles are fetched and stored in the database to be exported in XML. However as they are in the database, and my code has access to the vbulletin database tables. Therefore I can write code to generate a thread and post the content. This will work out more efficient too. Just have to get the code right, with the speed of the server, i could create thousands of threads per second. I wont put any delete facility in my code. All will be fine.

Made good progress on this last night and today. Automatically creates a thread and post entry. Updates counters. Limited it to 10 posts per hour as there are around 200 in the system already fetched.
One thing I have noticed is they don't appear in 'What's New' button at the top. This must be another database table I need to update.

Made good progress on this last night and today. Automatically creates a thread and post entry. Updates counters. Limited it to 10 posts per hour as there are around 200 in the system already fetched.
One thing I have noticed is they don't appear in 'What's New' button at the top. This must be another database table I need to update.

Dan, do you mean the "new posts" link up top? If so it does show them.

I found the table that controls that bit. Called Activity stream. I have most of the info for it apart from ContentID, I have other ID, but they not relevant. I won't drive into this further at this time. Could be opening a can of wormies.