Can I redirect comment feedback to another site?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
schimanke
Regular
Posts: 161
Joined: Mon Jan 07, 2008 4:38 pm
Location: Hameln, Germany
Contact:

Re: Can I redirect comment feedback to another site?

Post by schimanke »

Sorry I have to get back to this...

I recently found out how to read html status codes from within my iPhone app. Is it possible to send a certain html status code when a user submits a comment?

If there was one special code for a successful try to write a comment and one special code for an unsuccessful try I think I could build something that is even better than the current solution.

Thanks in advance!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Can I redirect comment feedback to another site?

Post by garvinhicking »

Hi!

You mean like "HTTP/1.0 200 OK"?

That can be done, but only with a custom event plugin that listens on frontend_config and introspects special variables and depending on those set the header, but this will be tricky so that it does not influence the normal workflow.

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/
schimanke
Regular
Posts: 161
Joined: Mon Jan 07, 2008 4:38 pm
Location: Hameln, Germany
Contact:

Re: Can I redirect comment feedback to another site?

Post by schimanke »

Okay, sounds indeed tricky but that was exactly what I meant. Well never mind, it was just an idea... :-)
Post Reply