Skip site navigation (1) Skip section navigation (2)

Re: Feeds Integration

From: David Costa <geeks(at)dotgeek(dot)org>
To: Chris Ryan <xgbe(at)yahoo(dot)com>
Cc: PostgreSQL WWW Mailing List <pgsql-www(at)postgresql(dot)org>
Subject: Re: Feeds Integration
Date: 2004-02-20 14:41:47
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-www
Sorry Chris,
something missing on the query.
You need a title too, like pgin.tcl-2.0.0 released
title, link, description, date.

Now the link is there, description will be the body, date whatever we  
have but we need the title too. Bottom line,
I need something AS title too.

In preparation of our tests (I will send the scripts to you) you need  
to do this:

pear install XML_RPC
and then pear list to check if pear DB is there too (just in case).

Let me know when you are done ;)


On Feb 19, 2004, at 7:49 PM, Chris Ryan wrote:

>> Umh, so what about the link ? is it part of the body ? if that is the
>> case it might be a problem, can solve that, just not the fast way to
>> produce the xml from db data.
>     Here is an updated query. The URL had slipped my mind as one I
> build the URLs from knows practices on GBorg and the body is actually
> the full story. You'll note as well in the query below that I added in
> for getting the submitter of the news item.
> SELECT headline AS title,
> ''||project_name||'/news/ 
> newsfull.php?news_id='||news_id
> AS link, -- the fully built url to the news item
>        body,   -- the full news text you may want to abbreviate here
>        member_name AS author, -- member name on gborg of author
>        submit_date   -- date not datetime :(
>   FROM project_news, project, member
>  WHERE (project_news.project_id=project.project_id)
>    AND (project_news.member_id=member.member_id)
>    AND (
>    AND (project_news.on_homepage=true)
>  ORDER BY submit_date DESC
>  LIMIT 10;
> Chris Ryan
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail SpamGuard - Read only the mail you want.

In response to


pgsql-www by date

Next:From: Chris RyanDate: 2004-02-20 14:48:53
Subject: Re: Feeds Integration
Previous:From: David CostaDate: 2004-02-20 14:26:03
Subject: Re: Feeds Integration

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group