Entry tags:
importer and xpost
Hello, I'd like to know if there is any documentation regarding content importing from LJ-based site (AFAIK, old version, circa "07) and cross-post setup steps? How should I define a new external site?
I'm currently using jbackup.pl + LJ::Simple mash-up, but that won't work in the long run, as even if entry backdate is set, users still receive messages of a new posts, if they're subscribed.
I'm currently using jbackup.pl + LJ::Simple mash-up, but that won't work in the long run, as even if entry backdate is set, users still receive messages of a new posts, if they're subscribed.
no subject
no subject
no subject
So that's a bug--we should assume custom LJ-based sites are older LJ versions. I filed bug 3701 against it.
Sorry about that.
no subject
no subject
In this case, since the site in question doesn't support the useragent property, you'd want to make sure to get a pre_crosspost_hook that removes that setting. Use the DeadJournal.pm file as a template.
no subject
cgi-bin/DW/External/Site.pm - added
cgi-bin/DW/External/Site/SviestaCiba.pm (has delete $req->{props}->{useragent};)
Maybe I need to flush some sort of cache or something?
no subject
no subject
added "delete $req->{props}->{used_rte};" and now crossposting works!
About content importing, how can I (if that's possible) configure that?
no subject
To configure a site for import, I'm not positive, but I think it should be enough to add it into cgi-bin/LJ/Widget/ImportChooseSource.pm if it's LJ-based. If that isn't enough, let me know and I'll dig into things more deeply.
(Also, to add in new sites for the <user name=foo site=example.com> tag, they go into cgi-bin/DW/External/Site -- use the ones that are already there as an example of what they should look like.)
no subject
"Your import has failed to import.
XMLRPC failure: Client error: Unknown method"; I've tried to add that site to ImportChooseSource.pm previously. As I have almost no Perl background, I don't think that I'll be able to find how to detect source of this XMLRPC issue.
If I understand corrctly, "name" is used just for import souce form?
My added information:
no subject
no subject
no subject