applecameron: alienapple LJ Icon (alienapple)
[personal profile] applecameron
OK, since I've had this idea ever since importing my entries from LJ to DW, I'm memorializing it. Anyone who takes the design and runs with should give me kudos or something.

Open memories page for user X on LJ and open DW db connection to user X' account
Scan each memory keyword/category on page.
For each, click and load LJ page for that memory, retaining the keyword/category (M)
Scan each line/memory on memories page for that M,
if line scanned is date/title and link to user X's LJ page (so, a self-reference memory)
search DW db for same date/title for user X' to see if imported into DW
if found, add memory under same keyword/category(ies) M on DW.
if date/title and link to a non-LJ page (so, some external site)
add memory under same keyword/category(ies) M on DW.
if date/title and link to a non-self LJ page (so, some other LJ)
scan for username of that LJ to see if same user on DW.
if found, open DW db connection to that user's account and look for a matching entry (see if they imported their LJ, including that entry, to DW)
if match found, add memory to that imported DW page.
(in the alternative, spider that user's LJ, if you don't have access to their db contents, for matching date/title from their import, and then add memory of that imported DW page.)

Given that it's been this much time and I have yet to familiarize myself with the devkit for DW, my writing this tool is very unlikely.
This account has disabled anonymous posting.
If you don't have an account you can create one now.
No Subject Icon Selected
More info about formatting

Profile

applecameron: Marvel Girl "Fear Me" LJ icon (Default)
applecameron

January 2020

S M T W T F S
   1234
567891011
12131415161718
19202122232425
26272829 3031 

Style Credit

Expand Cut Tags

No cut tags
Page generated Oct. 10th, 2025 06:09 pm
Powered by Dreamwidth Studios