Using serendipity comments for separate website?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Mekk
Regular
Posts: 54
Joined: Tue Jul 22, 2008 7:53 pm
Contact:

Using serendipity comments for separate website?

Post by Mekk »

(Just evaluating options, interested in suggestions)

Apart from serendepity blog, I have a non-blog website. And I think it could make sense to add user comments to some of its pages. One of the ideas is to borrow serendipity comments somehow (technically - by <iframe>ing something, ajax-ing something, or sth similar)

Have anybody tried sth similar? Does this idea make any sense, or may happen to be more work than it is worth?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Using serendipity comments for separate website?

Post by garvinhicking »

Hi!

Phew. That's really so much more work to integrate, than building it yourself.

The s9y comment routine relies heavily on the whole s9y framework, you cannot embed it on itself without ripping a lot of s9y functions, the whole database layer etc. An iframe only will not do, and using ajax would mean you'd need a kind of wrapper to access the s9y framework.

Plus, comments in s9y are attached to Entry-IDs. You would need to create fake entry id's for those pages in the database table, or they could not be associated with comments...

Regards,
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/
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

And if you're going to make a fake entry for the page, you may as well just copy page contents into a real entry. With a bit of theming work, you could duplicate your whole site in Serendipity. Then you get comments, plus searching, the ability to add new pages, and sidebar contents dynamically.
Judebert
---
Website | Wishlist | PayPal
Post Reply