Pubsubhubbub class not working

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Pubsubhubbub class not working

Oscar Fanelli
Hi, I am using the \Zend\Feed\PubSubHubbub\Publisher class in this way:

$publisher = new \Zend\Feed\PubSubHubbub\Publisher();
$publisher->addUpdatedTopicUrl(‘http://www.gamempire.it/rss');
$publisher->notifyHub('https://pubsubhubbub.appspot.com/');

But I receive this error:

Notification to Hub Server at "https://pubsubhubbub.appspot.com/" appears to have failed with a status code of "200" and message ""
What could be the problem?

Thanks,
Oscar

---

Oscar Fanelli
Gamempire.it - Creatore e Direttore esecutivo
Tom's Hardware Italia - Sviluppatore

Email secondaria: [hidden email]
Skype: gamempire
Tel: 3388696167

Reply | Threaded
Open this post in threaded view
|

Re: Pubsubhubbub class not working

Wesley Overdijk
PubSubHubbub Publisher? This killed me. :D

Met vriendelijke groet / Kind regards,

Roberto Wesley Overdijk

@RWOverdijk
M. +31 (0)6  15553243
                      _
                     / \
                     \\ \
             .-""-.   \\ '-.
           /` -.   '._/   o '.
         {`     \            /
          \     /  (   `;'-'`
           '.  '--.-'-._ '-.
             `-----`    `'--`

On Jan 14, 2014, at 5:18 PM, Oscar Fanelli <[hidden email]> wrote:

PubSubHubbub\Publisher 

Reply | Threaded
Open this post in threaded view
|

Re: Pubsubhubbub class not working

Oscar Fanelli
?

Il giorno 14/gen/2014, alle ore 18:18, Wesley Overdijk <[hidden email]> ha scritto:

PubSubHubbub Publisher? This killed me. :D

Met vriendelijke groet / Kind regards,

Roberto Wesley Overdijk

@RWOverdijk
M. +31 (0)6  15553243
                      _
                     / \
                     \\ \
             .-""-.   \\ '-.
           /` -.   '._/   o '.
         {`     \            /
          \     /  (   `;'-'`
           '.  '--.-'-._ '-.
             `-----`    `'--`

On Jan 14, 2014, at 5:18 PM, Oscar Fanelli <[hidden email]> wrote:

PubSubHubbub\Publisher 


Reply | Threaded
Open this post in threaded view
|

Re: Pubsubhubbub class not working

Tomáš Fejfar
In reply to this post by Wesley Overdijk
Yes, but it's actual name of that technology :) But PITA to write anywhere - very typo friendly :D

Tomas Fejfar 
tomasfejfar.cz



2014/1/14 Wesley Overdijk <[hidden email]>
PubSubHubbub Publisher? This killed me. :D

Met vriendelijke groet / Kind regards,

Roberto Wesley Overdijk

@RWOverdijk
M. <a href="tel:%2B31%20%280%296%20%C2%A015553243" value="+31615553243" target="_blank">+31 (0)6  15553243
                      _
                     / \
                     \\ \
             .-""-.   \\ '-.
           /` -.   '._/   o '.
         {`     \            /
          \     /  (   `;'-'`
           '.  '--.-'-._ '-.
             `-----`    `'--`

On Jan 14, 2014, at 5:18 PM, Oscar Fanelli <[hidden email]> wrote:

PubSubHubbub\Publisher 


Reply | Threaded
Open this post in threaded view
|

Re: Pubsubhubbub class not working

Oscar Fanelli
So, no ideas why it’s not working?

Il giorno 14/gen/2014, alle ore 18:30, Tomáš Fejfar <[hidden email]> ha scritto:

Yes, but it's actual name of that technology :) But PITA to write anywhere - very typo friendly :D

Tomas Fejfar 
tomasfejfar.cz



2014/1/14 Wesley Overdijk <[hidden email]>
PubSubHubbub Publisher? This killed me. :D

Met vriendelijke groet / Kind regards,

Roberto Wesley Overdijk

@RWOverdijk
M. <a href="tel:%2B31%20%280%296%20%C2%A015553243" value="+31615553243" target="_blank">+31 (0)6  15553243
                      _
                     / \
                     \\ \
             .-""-.   \\ '-.
           /` -.   '._/   o '.
         {`     \            /
          \     /  (   `;'-'`
           '.  '--.-'-._ '-.
             `-----`    `'--`

On Jan 14, 2014, at 5:18 PM, Oscar Fanelli <[hidden email]> wrote:

PubSubHubbub\Publisher 



Reply | Threaded
Open this post in threaded view
|

Re: Pubsubhubbub class not working

Wesley Overdijk
In reply to this post by Oscar Fanelli
Well, looking through the code, it’s expecting a 204. https://github.com/zendframework/zf2/blob/master/library/Zend/Feed/PubSubHubbub/Publisher.php#L230

So no idea why it should be a 204 or why it fails, but that’s why you’re getting that error.

Met vriendelijke groet / Kind regards,

Roberto Wesley Overdijk

@RWOverdijk
M. +31 (0)6  15553243
                      _
                     / \
                     \\ \
             .-""-.   \\ '-.
           /` -.   '._/   o '.
         {`     \            /
          \     /  (   `;'-'`
           '.  '--.-'-._ '-.
             `-----`    `'--`

On Jan 14, 2014, at 5:18 PM, Oscar Fanelli <[hidden email]> wrote:

Hi, I am using the \Zend\Feed\PubSubHubbub\Publisher class in this way:

$publisher = new \Zend\Feed\PubSubHubbub\Publisher();
$publisher->addUpdatedTopicUrl(‘http://www.gamempire.it/rss');
$publisher->notifyHub('https://pubsubhubbub.appspot.com/');

But I receive this error:

Notification to Hub Server at "https://pubsubhubbub.appspot.com/" appears to have failed with a status code of "200" and message ""
What could be the problem?

Thanks,
Oscar

---

Oscar Fanelli
Gamempire.it - Creatore e Direttore esecutivo
Tom's Hardware Italia - Sviluppatore

Email secondaria: [hidden email]
Skype: gamempire
Tel: 3388696167