Comments Sorted

Found the offending peice of code.

Actually, had to put in a bit of code that caused the problem. See, when generating the XML, I did it all at once(per entry) and did it from variables.

The problem was that the comment arrays wouldn’t get reset on each run, so if post 123 had comments and post 124 didn’t, post 124 would get the comments from post 123.

Opps.

But sorted.

Move along, move along…

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s