All Projects → pubsubhubbub → php-publisher

pubsubhubbub / php-publisher

Licence: Apache-2.0 license
A PubSubHubbub publisher module for PHP.

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to php-publisher

laminas-feed
Consume and generate Atom and RSS feeds, and interact with Pubsubhubbub.
Stars: ✭ 97 (+97.96%)
Mutual labels:  pubsubhubbub
bloc
A predictable state management library that helps implement the BLoC design pattern
Stars: ✭ 12 (-75.51%)
Mutual labels:  publisher
post-medium-action
This action is for posting markdown based posts to medium
Stars: ✭ 45 (-8.16%)
Mutual labels:  publisher
react-native-ad-consent
Google's User Messaging Platform (UMP SDK) for React Native.
Stars: ✭ 30 (-38.78%)
Mutual labels:  publisher
youtube-dl-nas
youtube download queue websocket server with login for private NAS.
Stars: ✭ 136 (+177.55%)
Mutual labels:  publisher
iris
Lightweight Component Model and Messaging Framework based on ØMQ
Stars: ✭ 50 (+2.04%)
Mutual labels:  publisher
go-ostatus
An OStatus library written in Go
Stars: ✭ 32 (-34.69%)
Mutual labels:  pubsubhubbub
php-subscriber
A PubSubHubbub subscriber module for PHP
Stars: ✭ 31 (-36.73%)
Mutual labels:  pubsubhubbub
Switchboard
a WebSub / PubSubHubbub 0.4 hub
Stars: ✭ 31 (-36.73%)
Mutual labels:  pubsubhubbub
AmpHtmlBundle
AMP HTML⚡ Bundle - provide AMP HTML conversion to your Symfony projects.
Stars: ✭ 33 (-32.65%)
Mutual labels:  publisher
apple-news
A Node.js client for interacting with the Apple News API 📰
Stars: ✭ 34 (-30.61%)
Mutual labels:  publisher
amqpextra
Golang AMQP on steroids. Reliable connection. Publisher. Consumer.
Stars: ✭ 59 (+20.41%)
Mutual labels:  publisher
in2publish core
in2publish Community Version
Stars: ✭ 38 (-22.45%)
Mutual labels:  publisher
publisher
Publishes mainstream content on GOV.UK
Stars: ✭ 42 (-14.29%)
Mutual labels:  publisher
Observable
A generic ObservableObject for every property!
Stars: ✭ 41 (-16.33%)
Mutual labels:  publisher

This PHP library for PubSubHubbub was written by Josh Fraser and is released under the Apache 2.0 License

Install

Update your composer require block:

"require": { "pubsubhubbub/publisher": "*" }

Usage

use pubsubhubbub\publisher\Publisher;

// specify which hub you want to use. In this case we'll use the demo hub on app engine.
$hub_url = "http://pubsubhubbub.appspot.com/";

// create a new pubsubhubbub publisher
$p = new Publisher($hub_url);

// specify the feed that has been updated
$topic_url = "http://www.onlineaspect.com";

// notify the hub that the specified topic_url (ATOM feed) has been updated
// alternatively, publish_update() also accepts an array of topic urls
if ($p->publish_update($topic_url)) {
    echo "$topic_url was successfully published to $hub_url";
} else {
    echo "Ooops...";
    print_r($p->last_response());
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].