On 8 Jul 1999, John Goerzen wrote:
> <!--newsclipper
> <input name=linuxtoday style=unorderedlist>
> <filter name=slashdot type=links>
> <filter name=limit number=10>
> <output name=array numcols=1>
> -->
>
> This is exactly as I had with DailyUpdate, except I just changed
> "dailyupdate" to "newsclipper". The LinuxToday handler returns a hash
> that is supposed to be compatible with the slashdot filter, and so I'm
> trying to use the slashdot filter. But it doesn't work; NewsClipper
> complains of some strange type error and refuses to work.
Are you sure that the LinuxToday hash is exactly the same as the Slashdot one?
If so, contact the handler writer and tell them to modify the handler to make
the linux today hash type a subtype of the Slashdot one. This will allow it to
be used with the slashdot hash.
However, if the hashes are not exactly the same, then you shouldn't rely on
their apparent compatibility (and NC won't let you). What if the slashdot
handler writer changes the format of the hash? Your stuff would break.
What you might be asking for is automatic conversion from one type to another,
sorta like when you try to add an integer and a real in most programming
languages. Sorry, but that's a can of worms I don't intend to open yet. :)
I recommend using Ryan's solution.
Regards,
David
_________________________________________________________________________
David Coppit - Graduate Student [EMAIL PROTECTED]
The University of Virginia http://coppit.org/
"Yes," said Piglet, "Rabbit has Brain." There was a long silence.
"I suppose," said Pooh, "that that's why he never understands anything."
-
If you would like to unsubscribe from this mailing list send an email to
[EMAIL PROTECTED] with the body "unsubscribe newsclipperlist
YOUR_EMAIL_ADDRESS" (without the quotes) or use the form provided at
http://www.NewsClipper.com/TechSup.htm#MailingList.