Paddy,

 So, your project updates the feeds when the cron is made to run? If so,
that is not what I'm actually looking for. I want the feeds to get updated
in real-time. So can you please tell me if the feeds are updated only when
the cron is ran or in real-time?

Vimal



On Fri, Apr 16, 2010 at 11:58 PM, vimal atreya <[email protected]> wrote:

> Paddy,
>
>  I guess, I can build a basic aggregator which finishes the first 3 steps.
> I guess drupal's aggregator covers the first three steps and I always love
> to work with drupal.
>
> Firstly, I need to build an aggregator which deals with non-PuSH enabled
> feeds. I wanted to build this aggregator for bloggers from a specific region
> in India, and I'm 100% sure that no one of them is PuSH as they are not much
> aware about technical stuff. So, I can think of PuSH enabled feeds in the
> second version of my aggregator.
>
> I agree with Matthew that Wordpress doesn't have a client-like plugin. All
> plugins made for Wordpress are just usable by the publishers and I cannot
> ask my users to install those to their blogs as many of them are using
> blogger. And, if I ask 'em to install to their blogs, why would they need
> me? I need to build a successful aggregator for 'em.
>
> Anyways, I'll look through your work and try to understand it. I'll get
> back as soon as I try it.
>
> Vimal
>
>
>
> On Fri, Apr 16, 2010 at 4:18 PM, Matthew Terenzio <[email protected]>wrote:
>
>> Pádraic, That's neat. I hadn't seen the ZFPlanet thing before.
>>
>> Regarding the Wordpress plugin. If you refer to Joseph Scott's plugin I
>> believe it acts as a publisher or a hub. I haven't seen anything that acts
>> like a client in Wordpress yet, which would probably be what you need to
>> make an aggregator.
>>
>> I'm working on that now in case someone knows of something I missed. I
>> hate to waste/duplicate effort. ; )
>>
>>
>>
>> On Fri, Apr 16, 2010 at 3:08 PM, Pádraic Brady 
>> <[email protected]>wrote:
>>
>>> Hi Vimal,
>>>
>>> The question depends on a lot of factors, so I'll stick to broad design
>>> approaches and offer an example in PHP you can examine in detail.
>>>
>>> The main thing is that any current aggregator has to deal with both PuSH
>>> enabled and non-PuSH enabled feeds. So you're really building two distinct
>>> systems. Obviously building in twice the complexity isn't a great idea so a
>>> good approach is to keep the following separate:
>>>
>>> 1. Polling of feeds.
>>> 2. Processing of feeds.
>>> 3. Handling of processed entries.
>>>
>>> This is the core of any aggregator but the separations are important once
>>> you bring in PuSH. Adding PuSH includes adding:
>>>
>>> 4. PuSH processing (callbacks, subscriptions, unsubscriptions)
>>>
>>> But with the first three, you can reuse 2 and 3 for all incoming PuSH
>>> notifications. It's a common aggregator mistake to merge the polling
>>> (fetching) with the processing making them hard to separate and reuse for
>>> PuSH.
>>>
>>> Onto the example, I created a demo application for PuSH (a simple
>>> aggregator) for the Zend Framework (PHP). In the application, all processing
>>> is performed within a Model (this takes over from the moment a feed is
>>> either polled or received via PuSH notification callbacks). You can find the
>>> source code at:
>>>
>>> http://github.com/padraic/ZFPlanet
>>>
>>> Please feel free to ask any questions on how it operates on or off list.
>>> It gives a broad example of the database schema, the use of
>>> Zend_Feed_Pubsubhubbub (if your question is related to PuSH implementation
>>> itself you can look there also - http://framework.zend.com), and some
>>> simple scripts for use with cron to schedule polling. You should also note
>>> that Wordpress and Drupal both have PuSH plugins/modules you may want to
>>> research depending on how/if your aggregator is being built on either of
>>> these platforms.
>>>
>>> Paddy
>>>
>>> Pádraic Brady
>>>
>>> http://blog.astrumfutura.com
>>> http://www.survivethedeepend.com
>>> OpenID Europe Foundation Irish Representative<http://www.openideurope.eu/>
>>>
>>>
>>> ------------------------------
>>> *From:* vimal <[email protected]>
>>> *To:* Pubsubhubbub <[email protected]>
>>> *Sent:* Fri, April 16, 2010 7:17:59 PM
>>> *Subject:* [pubsubhubbub] Aggregator with Pubsubhubbub?
>>>
>>> Hey guys, I was wondering how to make an aggreagtor with PuSH. I
>>> couldn't figure out how to start with it. I just developed websites
>>> with drupal and wordpress before. Can you please explain me the basics
>>> to start with an aggregator with PuSH? Please?
>>>
>>>
>>> --
>>> Subscription settings:
>>> http://groups.google.com/group/pubsubhubbub/subscribe?hl=en
>>>
>>
>>
>

Reply via email to