newsclipperdevlist  

Re: SQL Handler

Jan Peter Hecking
Tue, 19 Sep 2000 15:05:51 -0700

On Tue, Sep 19, 2000 at 09:47:23PM +0100, webmaster nigeria.com wrote:
> Has anybody got a handler that will take an SQL query as input and produce a
> list as output. Actually can this be done using Newsclipper?

Attached is a quick hack that should help get you on your way if you
want to implement this yourself.

Usage is like this:

<!--newsclipper
  <input name=sql driver="dbi:mysql:test" user="testuser" pass="somepassword" 
query="select * from sometable">
-->

bye,
Jan

-- 
Jan Peter Hecking     eMail: [EMAIL PROTECTED]
Student @ University of Rostock, Department of Computer Science
pgp pubkey: http://www.informatik.uni-rostock.de/~jhecking/pgp/
Technews -- Comics -- Bookmarks  -->  http://deathgate.dhs.org/

sql.pm