Page 1 of 1

Feature Suggestion: "Post Followup"

Posted: Fri Apr 04, 2008 12:35 pm
by Zugschlus
Hi,

how about having a "Post Followup" link right beside the "Edit Entry" button? The "Post Followup" button would bring up a new entry with category, tags and subject copied over from the article "being followed up", and a link to the original entry prepared in the entry body and/or extended body.

Greetings
Marc

Re: Feature Suggestion: "Post Followup"

Posted: Fri Apr 04, 2008 12:38 pm
by garvinhicking
Hi!

I don't think adding this as a general feature would be good. Most importantly because it is template inherited and would require changing every template.

Instead I suggest you do to that with a custom bookmarklet or greasemonkey script, where you can scrape the current title and forward that to the bookmarklet here:

Code: Select all

javascript:bm=document.selection?document.selection.createRange().text:document.getSelection();void(newwin=open('http://supergarv.dyndns.org/cvs/serendipity/recent/serendipity_admin.php?serendipity[adminModule]=entries&serendipity[adminAction]=new&serendipity[title]='+ escape(document.title) + '&serendipity[body]=' + escape(bm) +'&serendipity[url]=' + escape(location.href), 'new_log_entry','resizable=yes, scrollbars=yes, width=800, height=600, location=yes,status=yes')); newwin.focus();
Instead of document.selection you would need to write a javascript that fetches the document's title or so; this should be available by iterating through the DOM tree.

IMHO nothing that a wider audience would benefit from, though - I think the concept of followup articles is very specific.

HTH,
Garvin