Imported Writer's Block Posts
Title:
Imported Writer's Block Posts
Area:
Importer
Summary:
Replace the link on imported writer's block posts from Livejournal with the text of the actual question.
Description:
I've noticed that posts I've imported from Livejournal containing Writer's Block questions do not display correctly. This is probably because the question is not included in the text of the post but instead rendered as "lj-template qotd" enabling associated links to other answers.
When this is imported the code isn't recognised and displays as an error and leaves the post without the question it is answering. I don't pretend to know how the importer works and, for the six posts that I have, I can edit it manually.
I was curious though if it would it be possible to have the importer pull the data and then replace lj link with the plain text of the question instead.
This suggestion:
Should be implemented as-is.
19 (26.8%)
Should be implemented with changes. (please comment)
1 (1.4%)
Shouldn't be implemented.
6 (8.5%)
(I have no opinion)
38 (53.5%)
(Other: please comment)
7 (9.9%)

no subject
(I have my doubts about whether they have exposed the writers' block modules via API, however, which is why the "other" vote.)
no subject
I just took a look at a Writer's Block post and LJ is just referencing a component so that it can bring in the question in it's neat little box
lj-template name="qotd" id="3131" lang="en_LJ" /
When the Importer reads the post, it just copies this code. Dreamwidth would have to go to LJ to look up that "id" to get the text of the question and it may not be available outside LJ.
no subject
Though, given that there are a limited number of Writer's Block prompts, and usually the text of the prompt does not change, the way to do that would be to retrieve them all once and store them, and then look them up from storage.
That seems like ... a lot of doing.
no subject
If it can be accomplished simply and honorably, then yes. Otherwise, no.
no subject
no subject
no subject
no subject
no subject
no subject
no subject