Hi, everyone,
I've been silently working on my server for the past couple of weeks. I have appreciated everyone's help with some of the beginning groundwork. You can see the current effort at http://shawnharrison.org, which is a 200 MHz machine in my study, ADSL at 300Kbps. Just a warning that performance isn't too good.
Two questions:
(1) I'm using "Edit-This-Page," and would like to add the comments mechanism to those pages. I see a parameter for "enable General Comments" in the site-map for each Edit-This-Page node. However, this doesn't do the job. Before I start editing the etp-master.tcl, Is there a non-programming way to do it (i.e., through-the-browser configuration)?
(2) It actually makes sense to me to use the Forums package instead of General Comments. The idea is this: A link on the page would connect with a forum thread about that page. If there isn't one yet, a new thread will be started when the link is selected (i.e., the user will get the create new message page) -- ideally, with the subject of the message already filled in with the title of the article. If there is a thread, the link goes to the thread to read it first.
This forum-thread-discussion-of-this-article idea would require that the Forums package have an API that is similar to that of the General Comments package -- a "create_link" proc that would let the ETP template put the right link on the page, given the ID of the page instance (pa.item_id, correct?). It would also be a nice option to be able to list the contents of the thread at the bottom of the page, using a proc similar to the general_comments_get_comments proc.
It doesn't seem that the Forums package has the API to do this. The closest I find is a get_url function, but it requires that the calling function know the object_id of the thread/message, which the ETP page won't know. Or, is there something I'm missing in the Forums API?
Thanks,
Shawn