WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 5 years ago

Last modified 5 years ago

#2665 closed enhancement (wontfix)

Xanga Archive Importer

Reported by: dinkumator Owned by: everglow
Milestone: Priority: normal
Severity: normal Version: 2.1
Component: Import Keywords:
Focuses: Cc:

Description

I tweaked the livejournal importer around to get it to read in Xanga archives. Seems to work fine for the files I have access to. Only thing is that since there are no titles in the files I have, I used the date and time for the wordpress titles. Xanga has added in titles since the archive files I have so I have no way to test that part of it out. Other than that, it works great for the 3 people I've had try it out so far.

Attachments (5)

xanga.php.txt (7.1 KB) - added by dinkumator 8 years ago.
xanga importer
xanga.php (7.1 KB) - added by dinkumator 8 years ago.
non-borked version
xanga.2.php (7.2 KB) - added by everglow 7 years ago.
Fixed 5-10-2007
xanga_05-11-2007.php (7.2 KB) - added by everglow 7 years ago.
xanga_LATEST.php (8.7 KB) - added by everglow 7 years ago.
Completed version. Enjoy!

Download all attachments as: .zip

Change History (24)

dinkumator8 years ago

xanga importer

dinkumator8 years ago

non-borked version

comment:1 ryan8 years ago

  • Milestone set to 2.1

comment:2 foolswisdom8 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

Closing WONTFIX for now. As this likely needs additional maintenance and testing to check in.

Owner anyone?

comment:3 everglow7 years ago

  • Keywords archive added
  • Resolution wontfix deleted
  • Status changed from closed to reopened
  • Summary changed from Xanga archive importer to Xanga Archive Importer

Old version was no longer working with WP 2.1.x.

Bugs:
Dates for posts and comments in the 1970's (parsing error) - CORRECTED
Timestamps still not parsing correctly - IN PROCESS 5/10/2007

comment:4 everglow7 years ago

  • Owner changed from anonymous to everglow
  • Status changed from reopened to new

everglow7 years ago

Fixed 5-10-2007

comment:5 rob1n7 years ago

  • Milestone changed from 2.1 to 2.4

comment:6 everglow7 years ago

BUG CORRECTION - script was not parsing entries correctly; only importing first line.
Corrected as of 05-11-2007.

comment:7 everglow7 years ago

  • Status changed from new to assigned

everglow7 years ago

comment:8 in reply to: ↑ description everglow7 years ago

Be sure to download xanga_LATEST.php!

everglow7 years ago

Completed version. Enjoy!

comment:9 Nazgul7 years ago

  • Keywords dev-feedback added; import xanga archive removed

Do we want to include a Xanga Archive importer in core, or is it plugin territory as importer plugins became possible in 2.3?

comment:10 matt7 years ago

For importers I think we should make as many core as possible. (It's an exception to our normal guideline of leaving things to plugins.)

comment:11 Nazgul7 years ago

  • Keywords dev-feedback removed

comment:12 follow-up: spencerp6 years ago

With alot of the recent changes from when the last patch was added here, is it possible for this importer to be updated? OR, will it still be okay the way it is, or what?

comment:13 in reply to: ↑ 12 ; follow-up: DD326 years ago

Replying to spencerp:

OR, will it still be okay the way it is, or what?

I think thats it.. It looks to use wp_insert_post() and wp_insert_comment(), The API's shouldn't've changed any.

Why dont you give it a test and see if the importer still works? :) - A Test Export file might be useful to attach for non-Xanga users to test with too..

comment:14 in reply to: ↑ 13 ; follow-up: spencerp6 years ago

Replying to DD32:

Why dont you give it a test and see if the importer still works? :) - A Test Export file might be useful to attach for non-Xanga users to test with too..

Oh geez, I never even used Xanga before. Hahaha. See, this is where it'd be awesome to have just anyone from the public come around and "try things out". Well, especially for things like this. I know there's probably alot of folks out there that used Xanga before. *cough* I just happen to be one of those folks that haven't. LOL!

comment:15 in reply to: ↑ 14 DD326 years ago

Replying to spencerp:

Oh geez, I never even used Xanga before.

Honestly, Its the same here, I've never even heard of it (Well, i probably have in passing). I'd gladly test it out if i had a example export though.

comment:16 spencerp6 years ago

Like some of the tickets with patches that need testing, I'd say... slap it in Trunk and it's bound to be "tested" eventually. That's partially the reason for "us" testers anyway. Heck, if all else fails, before release they can just revert back / remove the stuff that doesn't hold up to it's duties. =P

comment:17 pishmishy6 years ago

  • Milestone changed from 2.5 to 2.6

Bumping milestone for feature freeze.

comment:18 Denis-de-Bernardy5 years ago

  • Component changed from Administration to Import
  • Milestone changed from 2.9 to Future Release
  • Resolution set to wontfix
  • Status changed from accepted to closed

this has rotten for long enough

comment:19 Denis-de-Bernardy5 years ago

  • Milestone Future Release deleted
Note: See TracTickets for help on using tickets.