simont: A picture of me in 2016 (Default)
simont ([personal profile] simont) wrote2011-03-14 02:33 pm

Placing a foot into the other camp

More migration seems to be occurring, so it's probably about time I got round to doing this: I'm now simont.dreamwidth.org as well as simont.livejournal.com. I have no plans to deactivate my LJ or stop reading stuff via it; I expect to cross-post everything and accept comments anywhere people feel like posting them.

There will doubtless be annoying teething problems as I sort out this dual presence and integrate it with the rest of my setup. In fact I've already made one cock-up just in the last half hour, by pasting the wrong list of usernames over from my previous OpenID-based presence on Dreamwidth and then hastily correcting. People who've unexpectedly found I subscribed to them and then unsubscribed again immediately: it was part of a mass update gone wrong, no personal insult was intended, and I'm very sorry.

lnr: Halloween 2023 (Default)

[personal profile] lnr 2011-03-14 03:01 pm (UTC)(link)
Ah, I solved the problem: I recently changed the email address I use for DW comment notifications, and I hadn't confirmed the new email address!
lnr: Halloween 2023 (Default)

[personal profile] lnr 2011-03-14 03:11 pm (UTC)(link)
This is still working :)

How confusing for anyone not reading both!
lnr: Halloween 2023 (Default)

[personal profile] lnr 2011-03-14 03:16 pm (UTC)(link)
:)

Irritatingly DW doesn't seem to be able to send me notifications of my *own* comments here, only of replies to them. Although I should probably go double check that's still true
pne: A picture of a plush toy, halfway between a duck and a platypus, with a green body and a yellow bill and feet. (Default)

[personal profile] pne 2011-03-14 03:55 pm (UTC)(link)
Not surprisingly, since that's how it works on LiveJournal, too, TTBOMK.
lnr: Halloween 2023 (Default)

[personal profile] lnr 2011-03-14 06:16 pm (UTC)(link)
I've had a paid/permanent account over there for so long that there quite possibly several features I use without realising they're not available to non-paid accounts.
liv: Stylised sheep with blue, purple, pink horizontal stripes, and teacup brand, dreams of Dreamwidth (sheeeep)

[personal profile] liv 2011-03-14 03:17 pm (UTC)(link)
Welcome to the Other Side! I assume you've probably seen that you can set things up so that DW handles crossposting to LJ automatically? And I'm impressed you were able to replicate your pretty page layout over here.
liv: Stylised sheep with blue, purple, pink horizontal stripes, and teacup brand, dreams of Dreamwidth (sheeeep)

[personal profile] liv 2011-03-14 03:51 pm (UTC)(link)
The bar at the top we call the "Navigation Strip"; there's a full range of settings in the Display settings tab. (Basically one of the first changes that DW made to the LJ codebase was to give much finer control of where the nav strip is visible, and to display it on a per-user basis rather than a per-journal basis, so that people don't need to impose their preferences on everyone else.)

The layout porting thing, I should have guessed you'd find it pretty straightforward! I keep getting people asking me how to do it, and I say, oh, you just change these three variable names and these two functions, and they complain that's way too complicated. But we did try not to break S2 too much when we were modernizing and rationalizing it (and that was a dev task that I was pretty heavily involved in, so I'm somewhat proud of it).

Custom posting software, hm. What are you doing for backup / archiving? Because I used to use LJArchive, which has a Windows GUI, but it times out trying to back up the whole of my Dreamwidth journal. I think what I need is some kind of script I can run that will talk to DW's content exporter (Perl or Python or whatever more knowledgeable geeks convince me is suitable); do you have any ideas about that side of it?
liv: Stylised sheep with blue, purple, pink horizontal stripes, and teacup brand, dreams of Dreamwidth (sheeeep)

[personal profile] liv 2011-03-14 04:21 pm (UTC)(link)
Yeah, I was just about to say that the names in the code don't always match the names in the docs. Dreamwidth is turning into one of those Open Source projects that has issues with documenting things properly, either for users or for developers. Anyway, you found it faster than I had time to explain this to you, so.
pne: A picture of a plush toy, halfway between a duck and a platypus, with a green body and a yellow bill and feet. (Default)

backup/archive

[personal profile] pne 2011-03-14 04:01 pm (UTC)(link)
FWIW, I use both LJArchive and [livejournal.com profile] ghewgill's [livejournal.com profile] ljdump Python script. (Though I hacked at it a tad at first - partly because it broke on Windows if icon keywords contained certain "bad" characters when it tried to convert the keyword to a filename, and partly because I didn't want it to backup userpics every single time, since that takes pretty long, since it always downloads the entire lot since it can't tell which ones are new.)

However, I haven't tried to get either of them to speak to Dreamwidth so I can't say whether that would work or whether the API has changed too much. Worth a try, I suppose.
liv: Stylised sheep with blue, purple, pink horizontal stripes, and teacup brand, dreams of Dreamwidth (sheeeep)

Re: backup/archive

[personal profile] liv 2011-03-14 04:26 pm (UTC)(link)
LJArchive speaks to DW just fine. But as far as I can tell there's no way to modify its timeout limit. A friend of mine, [personal profile] pseudomonas, wrote a script that would go through LJ posts and replace each one with a link to the imported post on DW. So I imported my entire LJ in order to test it, and this had two unfortunate effects, firstly that I couldn't get Pseudomonas' script to compile at all, even in an apparently identical environment. And secondly doing this made my DW journal too big for the program to cope with; it times out at 30 minutes and there doesn't seem to be any way to get it to do a smaller range at a time.

I'll see if I can get the Python script you mention to work, cos I feel uncomfortable with half a year of DW only existing in the cloud!
liv: Stylised sheep with blue, purple, pink horizontal stripes, and teacup brand, dreams of Dreamwidth (sheeeep)

Re: backup/archive

[personal profile] liv 2011-03-14 04:46 pm (UTC)(link)
OK, I'm not able to get ljdump to work on DW; it's rejecting the password although I'm pretty certain I entered it correctly. It may be that someone more techy than me could tweak it to work; I don't think DW has changed its API that much.
liv: Stylised sheep with blue, purple, pink horizontal stripes, and teacup brand, dreams of Dreamwidth (sheeeep)

[personal profile] liv 2011-03-14 04:56 pm (UTC)(link)
I have a bad feeling that may not be user-modifiable. However, you can do set text_meta_xpost = "Crossposts"; to change what it's called in the footer. Changing how it displays beyond that, at a first glance looks impossible (it's in the so-called metadata, which is all called from the backend and you can't do anything with it by tweaking layout code.)
liv: Stylised sheep with blue, purple, pink horizontal stripes, and teacup brand, dreams of Dreamwidth (sheeeep)

[personal profile] liv 2011-03-14 05:02 pm (UTC)(link)
Yeah, always on, though you can hide it with CSS. But you can't change its position in the entry or the format it uses for the crossposted URL or make it only display in posts longer than 300 words or whatever.
liv: Stylised sheep with blue, purple, pink horizontal stripes, and teacup brand, dreams of Dreamwidth (sheeeep)

[personal profile] liv 2011-03-15 11:43 am (UTC)(link)
I'm in principle happy to help; one of the things I love about DW is getting my hands dirty in this Open Source world, and sharing all the random little bits I have learned about the codebase is very exciting for me. (Yes, I know all the other geeks have known this for 20 years, I'm slow.)

However you're getting to the point where you're asking questions beyond the limits of my technical knowhow. You've picked up enough from the docs to replace checkfriends with checkforupdates, which is the usual thing that goes wrong with porting stuff over from LJ. I have a feeling it's deliberate that it's set at an excessively long poll interval (and quite possibly disabled altogether) for free accounts (it used to be that way on LJ too, at least back in the day).

The official Support place is http://www.dreamwidth.org/support/submit. But there aren't many volunteers active there with more technical knowledge than me. For this kind of properly technical question, you'd do better asking in [site community profile] dw_dev, because the people who actually know this stuff watch that.
sunflowerinrain: Singing at the National Railway Museum (Default)

[personal profile] sunflowerinrain 2011-03-14 05:37 pm (UTC)(link)
Yay! Welcome to here :) xx
twigletzone: (Default)

[personal profile] twigletzone 2011-03-15 06:05 pm (UTC)(link)
Erro! *adds*