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>Example Feed</title> | |
<link href="http://example.org/"/> | |
<updated>2003-12-13T18:30:02Z</updated> | |
<author> | |
<name>John Doe</name> | |
</author> | |
<id>urn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6</id> |
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="ISO-8859-1"?> | |
<opml version="1.0"> | |
<head> | |
<title>playlist.xml</title> | |
<dateCreated>Thu, 27 Jul 2000 03:24:18 GMT</dateCreated> | |
<dateModified>Fri, 15 Sep 2000 09:01:23 GMT</dateModified> | |
<ownerName>Dave Winer</ownerName> | |
<ownerEmail>[email protected]</ownerEmail> | |
<expansionState>1,3,17</expansionState> | |
<vertScrollState>1</vertScrollState> |
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
<rss version="2.0"> | |
<channel> | |
<title>Liftoff News</title> | |
<link>http://liftoff.msfc.nasa.gov/</link> | |
<description>Liftoff to Space Exploration.</description> | |
<language>en-us</language> | |
<pubDate>Tue, 10 Jun 2003 04:00:00 GMT</pubDate> | |
<lastBuildDate>Tue, 10 Jun 2003 09:41:01 GMT</lastBuildDate> | |
<docs>http://blogs.law.harvard.edu/tech/rss</docs> | |
<generator>Weblog Editor 2.0</generator> |
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
<rss version="0.92"> | |
<channel> | |
<title>Dave Winer: Grateful Dead</title> | |
<link>http://www.scripting.com/blog/categories/gratefulDead.html</link> | |
<description>A high-fidelity Grateful Dead song every day. This is where we're experimenting with enclosures on RSS news items that download when you're not using your computer. If it works (it will) it will be the end of the Click-And-Wait multimedia experience on the Internet. </description> | |
<lastBuildDate>Fri, 13 Apr 2001 19:23:02 GMT</lastBuildDate> | |
<docs>http://backend.userland.com/rss092</docs> | |
<managingEditor>[email protected] (Dave Winer)</managingEditor> | |
<webMaster>[email protected] (Dave Winer)</webMaster> | |
<cloud domain="data.ourfavoritesongs.com" port="80" path="/RPC2" registerProcedure="ourFavoriteSongs.rssPleaseNotify" protocol="xml-rpc"/> |
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
<rss version="0.91"> | |
<channel> | |
<title>WriteTheWeb</title> | |
<link>http://writetheweb.com</link> | |
<description>News for web users that write back</description> | |
<language>en-us</language> | |
<copyright>Copyright 2000, WriteTheWeb team.</copyright> | |
<managingEditor>[email protected]</managingEditor> | |
<webMaster>[email protected]</webMaster> | |
<image> |
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
<?php | |
ini_set('display_errors', 1); | |
error_reporting (E_ALL); | |
class MyObject { | |
public $points; | |
protected $_points; |
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"?> | |
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0"> | |
<channel> | |
<title><![CDATA[sport.de Top-News]]></title> | |
<link>http://www.sport.de/feed/579/telegramm.xml</link> | |
<description><![CDATA[Alle Top-News zu Fußball, Formel 1, Boxen, Handball, Basketball, Eishockey, Motorsport, Radsport, Tennis, Leichtathletik, Golf und Wintersport sowie den großen Sport-Events wie Welt- und Europameisterschaften und Olympischen Spielen.]]></description> | |
<pubDate>Mon, 04 Jun 2012 08:51:02 +0000</pubDate> | |
<lastBuildDate>Mon, 04 Jun 2012 08:51:02 +0000</lastBuildDate> | |
<copyright>2010 RTL interactive GmbH</copyright> |
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
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'xmlsimple' | |
require 'date' | |
require 'fileutils' | |
require "pp" | |
time = Time.new | |
CURRENTDIR=Dir.getwd | |
ownpid=$$ |
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
<?php | |
if($argv[1] == '-d') { | |
echo "start daemon\n"; | |
while(true) { | |
if(file_exists('message.txt')) { | |
$oMessage = json_decode(file_get_contents('message.txt')); | |
if($oMessage->action == 'sayHello') { | |
echo "Hello...\n"; | |
} |
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
#!/bin/bash | |
# Usage: Make a symbolic link to this script and call then. | |
# get current script path | |
SCRIPTPATH="$(test -L "$0" && readlink "$0" || echo "$0")" | |
SCRIPTREALPATH="`readlink -f ${SCRIPTPATH}`" | |
# if readlink dosnt work | |
if [ ! -d $SCRIPTREALPATH ] ; then | |
SCRIPTREALPATH="$(dirname $SCRIPTPATH)" |
OlderNewer