This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "rubygems" | |
require "superfeedr" | |
## You can have all the XMPP logging by changing the Skates log level | |
Skates.logger.level = Log4r::DEBUG | |
## | |
# Don't ever forget that all this is ASYNCHRONOUS... | |
# If you don't run EM in your program, then it will started for... however, EM.run begin a blocking call, you shoudl probably run it into a specific Thread to keep the rest of your app running :) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<iq type='get' from='[email protected]/home' to='firehoser.superfeedr.com' id='subman1'> | |
<pubsub xmlns='http://jabber.org/protocol/pubsub'> | |
<subscriptions jid='[email protected]' page='3'/> | |
</pubsub> | |
</iq> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<iq type='get' from='[email protected]/home' to='firehoser.superfeedr.com' id='subman1'> | |
<pubsub xmlns='http://jabber.org/protocol/pubsub'> | |
<subscriptions jid='[email protected]' page='3'/> | |
</pubsub> | |
</iq> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<feed xmlns="http://www.w3.org/2005/Atom"> | |
<title>Superfeedr Blog</title> | |
<link href="http://blog.superfeedr.com/atom.xml" rel="self"/> | |
<link href="http://blog.superfeedr.com/"/> | |
<updated>2009-06-23T10:05:53-07:00</updated> | |
<id>http://blog.superfeedr.com/</id> | |
<author> | |
<name>Julien Genestoux</name> | |
<uri>http://twitter.com/julien51</uri> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
title: Superfeedr Blog | |
updated: 2009-06-23T10:05:53-07:00 | |
feed_id: http://blog.superfeedr.com/ | |
categories: | |
- term: Superfeedr | |
- term: Feed Parsing | |
- term: Songs from Finland | |
authors: | |
- name: Julien Genestoux |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# This is a template file to define expectations for a feed parsed with Superfeedr. | |
# | |
# If you have identfied discrepencies in the data we send, or if you think it is not conform to | |
# the initial RSS or Atom feed, please fill in this template and send it to us, along with the XML file. We will then fix our | |
# libraries so that the result correspond to what you will have filled in this file. | |
# | |
# These is no need to complete all the file, you can just put the problematic fields. It is important however to keep the structure. | |
# Please see the example at the end of this file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
server_name www.superfeedr.com; | |
rewrite ^(.*) http://superfeedr.com$1 permanent; | |
} | |
server { | |
listen 80; | |
server_name superfeedr.com; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<status> | |
<created_at>Tue Jul 14 04:01:29 +0000 2009</created_at> | |
<id>2626636002</id> | |
<text>Well everybody goodnight and goodbye, I'm really tired... see you later!</text> | |
<source>web</source> | |
<truncated>false</truncated> | |
<in_reply_to_status_id></in_reply_to_status_id> | |
<in_reply_to_user_id></in_reply_to_user_id> | |
<favorited>false</favorited> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<iq type="result" to="[email protected]/home" id="subman1" from="firehoser.superfeedr.com"> | |
<pubsub xmlns="http://jabber.org/protocol/pubsub" xmlns:superfeedr="http://superfeedr.com/xmpp-pubsub-ext" > | |
<subscriptions superfeedr:page="3"> | |
<subscription node="http://domain.tld/a/feed/atom.xml" subscription="subscribed" jid="[email protected]"> | |
<status xmlns="http://superfeedr.com/xmpp-pubsub-ext"> | |
<http code="200">9718 bytes fetched in 1.462708s : 2 new entries.</http> | |
<next_fetch>2009-05-10T11:19:38-07:00</next_fetch> | |
</status> | |
</subscription> | |
<subscription node="http://domain2.tld/feed.rss" subscription="subscribed" jid="[email protected]"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Id User Host/IP DB Time Cmd Query or State -- ---- ------- -- ---- --- ---------- 2 system us 0 Connec Has read all relay log; waiting for the slave I/O thread to update it 83118 superfeed 172.21.1.175 superfeedr 0 Sleep 83590 root localhost 0 Query show full processlist |
OlderNewer