Forum Replies Created

Viewing 7 replies - 61 through 67 (of 67 total)
  • Thread Starter riverwriter

    (@riverwriter)

    After I typed this, I came to realize that maybe you should just skip to the final paragraph, then if you want to, you can read the rest to see the rationale.

    I have the new code up, and it certainly makes me rethink the premises of my original “outrageous” request. I see now that using all the categories complicates the problems immensely if we are trying to distinguish between poetry and prose; for example, a poem is categorized as creative writing, so when it is listed under creative writing, along with , say an essay, which is also creative writing, they both come off as prose, and we have no way to differentiate. I think that differentiation in that case is actually too complicated.

    Another issue is that when the poetry category or any category listed in the array for slashes etc come up, the depiction in the final result comes out with the line-breaks in, so that the slash is not needed. To clarify: here is poetry correctly quoted with line breaks:

    blah blah blah,
    blah blah blah,
    blah blah blah. . . — no quotation marks, no slashes needed.

    here is poetry correctly quoted without line breaks: “blah blah blah, / blah blah blah, / blah blah blah . . .” — the slashes show the line breaks, which are needed because the line breaks are significant in poetry, unlike prose.

    This is sort of like the use of the apostrophe. So many people misuse it that it is safer not to use it than to use it.

    Conclusion: I really like the control over the number of words in prose — that comes off really well. I like the way the actual poetry categories can be set to show the line breaks; I think if all entries showed line breaks, not just poetry, that would solve everything, and the slashes would not be needed. All one would have to do to make it work reasonably would be to reach a reasonable compromise between number of words and amount of poetry and prose one wants to show. So: no slashes, yes line breaks, yes word count. Does that make sense?

    Thread Starter riverwriter

    (@riverwriter)

    I really like those tweaks you are suggesting.

    I awoke this morning with the thought that you could specify use of the category “poetry” — or more precisely, “verse” — as a condition for adding ‘ / ‘ at the end of each line.

    Anyway, it is a neat plugin that has dipped my feet into php.

    Thanks.

    Thread Starter riverwriter

    (@riverwriter)

    How sweet it is! It woiks!

    If you are going to incorporate this enhancement in future versions, I imagine you will want to give users the opportunity to reveal no text or as much as they want.

    One feature that we had earlier but do not now is the poetry line divisions. It is standard practice when quoting poetry that does not appear with the original line breaks, to indicate line breaks with the forward slash. I am quite happy to do without, as the plugin really achieves what I was hoping for: a manageable indication of the content.

    Thank you, Aleister! I shall put a link to your site in my note about the index.

    Thread Starter riverwriter

    (@riverwriter)

    Yes, I left the first revision up for a while, then figured I should go back to the original version for my visitors.

    I have the new version up now. It is certainly an improvement, but it cuts off, not after so many lines, but after so many line breaks. This means that poetry entries break off after two or three lines, but the prose breaks after a line break, which in this case is two paragraph breaks; sometimes that means there is a lot of text showing. Perhaps a word count would work better. I imagine a word count of twenty would be a good default.

    I am puzzled by the fact that in the second post, it seems to have picked up a bold code and made all the subsequent entries bold. Hmmm

    Since the line breaks are observed, the \ character is unnecessary. I presume I can remove it by removing the one line of code getting it. I have not edited any of the files, wanting to show you what they do as you wrote them.

    I am sorry if this is turning into an endless marathon.

    Thread Starter riverwriter

    (@riverwriter)

    Thank you, Aleister. I have the new version of the plugin up and running. I must be missing something: the ddsg_get_contents function shows the number of lines set as 3, but I am getting the whole post showing. For some reason it is not truncating at the end of the third line.

    Here is the page in question: http://riverwriter.ca/wordcurrents/?page_id=83

    Thread Starter riverwriter

    (@riverwriter)

    . . . and that modification would be . . . ?

    BTW, since these posts are mostly poetry, I would like to place a slash (/) at every hard return, since I expect that the program will run lines on . . .

    Thread Starter riverwriter

    (@riverwriter)

    Back to my original query: I have installed the sitemap generator into a Page on my WordPress 2.0.2 site, and it works like a charm. Now all I have to do is tweak it a bit. I certainly consider this worth donating to. That was a lot easier than I had thought.

Viewing 7 replies - 61 through 67 (of 67 total)