RE: Notification events for google searches - searchalert.net

"Adam Rifkin" <[email protected]> Tue, 21 Oct 2003 15:05:02 -0700
Newsgroups gmane.comp.web.mod-pubsub.devel
Message-ID <[email protected]>
I believe the

content-type

header does the trick... this looks like nice work, Mike!

   Adam


-----Original Message-----
From: Asynch Messaging [mailto:[email protected]]
Sent: Saturday, October 18, 2003 11:51 AM
To: [email protected]
Subject: Re: [Mod-pubsub-developer] Notification events for google
searches - searchalert.net


I added support for BloggerAPI last night. So www.searchalert.net supports
sending MetaweblogAPI, BloggerAPI, plain text and RSS 0.91.
Weird thing - BloggerAPI doesn't have a slot for 'title' of the post. Lots
of inane excuses from Pyra why they don't support MetaweblogAPI. Dude - its
just text....

Next step - point a bunch of search results at a mod-pubsub hosted topic &
figure out what text format to send for a list of links with titles. NOt
sure if XML is appropriate for the level of clients typically connected - is
there a standard header to indicate content-type of a message?


----- Original Message ----- 
From: "Asynch Messaging" <[email protected]>
To: "Joyce Park" <[email protected]>;
<[email protected]>
Sent: Friday, October 17, 2003 10:48 PM
Subject: Re: [Mod-pubsub-developer] Notification events for google
searches - searchalert.net


> The Web UI captures search strings into MySQL.
> A background task processes each search and does a request to Google (for
> both web searches and news searches). The response is scanned for links.
> Each link is added to the DB (if it doesn't already exist) and associated
> with the search - each link is part of a 'collection' of results.
>
> Each user is 'subscribed' to the results of the search. If the results
> change (links are added), then an event is sent to the destination that is
> subscribed (either email or web URL). The event is formatted first, via a
> hacked up template language.
>
> Essentially, searchalert.net manages subscriptions between two Web
resources
> & provides formatting in between.
> For example, the following resource is 'results for the search for
> mod-pubsub'
> http://www.searchalert.net/searchalert/results.jsp?queryId=685
>
> I have routed changes for this resource (such as a link being added) to
the
> following resource (which is a blog)
> http://www.topiczero.com/mt/mt-xmlrpc.cgi
>
> (The annoying thing is that the destination (the blog) cannot be specified
> via a URL. I had to hack in a 'blogId' into the content of the message
when
> all I really wanted was to append a list of links to a known blog. Fookin
> xml-rpc dunderheads.)
>
> The message format uses this template:
> <?xml version="1.0"?>
> <methodCall>
>  <methodName>metaWeblog.newPost</methodName>
>  <params>
>   <param><value><sa.destination.extra1></value></param>
>   <param><value><sa.destination.username></value></param>
>   <param><value><sa.destination.password></value></param>
>   <param>
>    <value>
>     <struct>
>      <member><name>title</name><value>New links for
> <sa.query></value></member>
>      <member><name>description</name><value>
> <sa.results>
> <a href='<result.link>'><result.title></a><br />
> </sa.results>
> </value></member>
>     </struct>
>    </value>
>   </param>
>   <param><value>true</value></param>
>  </params>
> </methodCall>
>
>
>
>
>
>
> ----- Original Message ----- 
> From: "Joyce Park" <[email protected]>
> To: "Asynch Messaging" <[email protected]>;
> <[email protected]>
> Sent: Friday, October 17, 2003 9:49 PM
> Subject: Re: [Mod-pubsub-developer] Notification events for google
> searches - searchalert.net
>
>
> > Cool Mike!  It craps out if you neglect the "www" in
www.searchalert.net,
> but
> > otherwise it looks good.  How does it work?  JP
> >
> >
> > --- Asynch Messaging <[email protected]> wrote:
> > > I've updated my searchalert.net app to support posting to a Web
> destination
> > > in addition to an email destination.
> > > Currently it supports three formats, but adding another one is pretty
> > > trivial - I just need to create a template.
> > > The format supported are WeblogAPI, RSS0.91 and plain text.
> > >
> > > If you want to hook up an event source for results from google
searches,
> you
> > > can use www.searchalert.net and use the 'advanced' subscribe button,
> then
> > > create a new destination & subscribe to a search.
> > >
> > > Here's an example blog with search results for 'amazon web service'
(it
> also
> > > receives results for 'knownow')
> > > http://www.topiczero.com/blogs/
> > >
> > > Let me know if you try to use it & have any problems.
> >
>
>
> -------------------------------------------------------
> This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
> The Event For Linux Datacenter Solutions & Strategies in The Enterprise
> Linux in the Boardroom; in the Front Office; & in the Server Room
> http://www.enterpriselinuxforum.com
> _______________________________________________
> Mod-pubsub-developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mod-pubsub-developer
>


-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com
_______________________________________________
Mod-pubsub-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mod-pubsub-developer


-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54