Feature Suggestion: "Post Followup"

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Zugschlus
Regular
Posts: 144
Joined: Sun Feb 05, 2006 12:54 am
Location: St. Ilgen, Germany
Contact:

Feature Suggestion: "Post Followup"

Post 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
--
Marc Haber, St. Ilgen, Germany
https://blog.zugschlus.de/ - nach langer Pause jetzt wieder online
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Feature Suggestion: "Post Followup"

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply