forked from simplepie/simplepie
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removing the old branch builds, adding the new RC1 release. Will wait…
… to move 1.0 into "branch" until we're 1.0 final.
- Loading branch information
Ryan Parman
committed
Jun 24, 2007
0 parents
commit 0028eca
Showing
41 changed files
with
14,010 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Copyright (c) 2004-2007, Ryan Parman and Geoffrey Sneddon | ||
All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without modification, are | ||
permitted provided that the following conditions are met: | ||
|
||
* Redistributions of source code must retain the above copyright notice, this list of | ||
conditions and the following disclaimer. | ||
|
||
* Redistributions in binary form must reproduce the above copyright notice, this list | ||
of conditions and the following disclaimer in the documentation and/or other materials | ||
provided with the distribution. | ||
|
||
* Neither the name of the SimplePie Team nor the names of its contributors may be used | ||
to endorse or promote products derived from this software without specific prior | ||
written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS | ||
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY | ||
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS | ||
AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | ||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | ||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | ||
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | ||
POSSIBILITY OF SUCH DAMAGE. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
SIMPLEPIE | ||
http://simplepie.org | ||
By Ryan Parman and Geoffrey Sneddon | ||
|
||
BSD-LICENSED | ||
http://www.opensource.org/licenses/bsd-license.php | ||
|
||
WHAT COMES IN THE PACKAGE? | ||
1) simplepie.inc - The SimplePie library. This is all that's required for your pages. | ||
2) README.txt - This document. | ||
3) LICENSE.txt - A copy of the BSD license. | ||
4) compatibility_test - The SimplePie compatibility test that checks your server for required settings. | ||
5) demo - A basic feed reader demo that shows off some of SimplePie's more noticable features. | ||
6) idn - A third-party library that SimplePie can optionally use to understand Internationalized Domain Names (IDNs). | ||
7) test - SimplePie's unit test suite. This is only available in SVN builds. | ||
|
||
TO START THE DEMO: | ||
1) Upload this package to your webserver. | ||
2) Make sure that the cache folder inside of the demo folder is server-writable. | ||
3) Navigate your browser to the demo folder. | ||
|
||
SUPPORT: | ||
For further setup and install documentation, function references, etc., visit: | ||
http://simplepie.org/wiki/ | ||
|
||
For bug reports, feature requests and other support, visit: | ||
http://simplepie.org/support/ | ||
|
||
For more insight on SimplePie development, visit: | ||
http://simplepie.org/development/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
SIMPLEPIE COMPATIBILITY TEST | ||
|
||
1) Upload sp_compatibility_test.php to the web-accessible root of your website. | ||
For example, if your website is www.example.com, upload it so that you can get | ||
to it at www.example.com/sp_compatibility_test.php | ||
|
||
2) Open your web browser and go to the page you just uploaded. |
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/usr/bin/php | ||
<?php | ||
include_once('../simplepie.inc'); | ||
|
||
// Parse it | ||
$feed = new SimplePie(); | ||
if (isset($argv[1]) && $argv[1] !== '') | ||
{ | ||
$feed->set_feed_url($argv[1]); | ||
$feed->enable_cache(false); | ||
$feed->init(); | ||
} | ||
|
||
$items = $feed->get_items(); | ||
|
||
foreach ($items as $item) | ||
{ | ||
echo $item->get_title() . "\n"; | ||
} | ||
|
||
var_dump($feed->get_item_quantity()); | ||
|
||
?> |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<html> | ||
<head> | ||
<meta http-equiv="refresh" content="0;url=http://www.jeroenwijering.com/extras/readme.html"> | ||
</head> | ||
</html> |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/*=:project | ||
scalable Inman Flash Replacement (sIFR) version 3. | ||
=:file | ||
Copyright: 2006 Mark Wubben. | ||
Author: Mark Wubben, <http://novemberborn.net/> | ||
=:history | ||
* IFR: Shaun Inman | ||
* sIFR 1: Mike Davidson, Shaun Inman and Tomas Jogin | ||
* sIFR 2: Mike Davidson, Shaun Inman, Tomas Jogin and Mark Wubben | ||
=:license | ||
This software is licensed and provided under the CC-GNU LGPL. | ||
See <http://creativecommons.org/licenses/LGPL/2.1/> | ||
*/ | ||
|
||
|
||
/* This is the print stylesheet to hide the Flash headlines from the browser... regular browser text headlines will now print as normal */ | ||
|
||
.sIFR-flash { | ||
display: none !important; | ||
height: 0; | ||
width: 0; | ||
position: absolute; | ||
overflow: hidden; | ||
} | ||
|
||
.sIFR-alternate { | ||
visibility: visible !important; | ||
display: block !important; | ||
position: static !important; | ||
left: auto !important; | ||
top: auto !important; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/*=:project | ||
scalable Inman Flash Replacement (sIFR) version 3. | ||
=:file | ||
Copyright: 2006 Mark Wubben. | ||
Author: Mark Wubben, <http://novemberborn.net/> | ||
=:history | ||
* IFR: Shaun Inman | ||
* sIFR 1: Mike Davidson, Shaun Inman and Tomas Jogin | ||
* sIFR 2: Mike Davidson, Shaun Inman, Tomas Jogin and Mark Wubben | ||
=:license | ||
This software is licensed and provided under the CC-GNU LGPL. | ||
See <http://creativecommons.org/licenses/LGPL/2.1/> | ||
*/ | ||
|
||
/*---- sIFR ---*/ | ||
.sIFR-flash { | ||
visibility: visible !important; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
.sIFR-replaced { | ||
visibility: visible !important; | ||
} | ||
|
||
.sIFR-alternate { | ||
position: absolute; | ||
left: 0; | ||
top: 0; | ||
width: 0; | ||
height: 0; | ||
display: block; | ||
overflow: hidden; | ||
} | ||
|
||
/*---- Header styling ---*/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
var yanone_kaffeesatz = { | ||
src: './for_the_demo/yanone-kaffeesatz-bold.swf' | ||
}; | ||
|
||
var lucida_grande = { | ||
src: './for_the_demo/lucida-grande-bold.swf' | ||
}; | ||
|
||
sIFR.activate(yanone_kaffeesatz); | ||
//sIFR.activate(lucida_grande); | ||
|
||
sIFR.replace(yanone_kaffeesatz, { | ||
//sIFR.replace(lucida_grande, { | ||
|
||
selector: 'h3.header', | ||
wmode: 'transparent', | ||
css: { | ||
'.sIFR-root': { | ||
'text-align': 'center', | ||
'color': '#000000', | ||
'font-weight': 'bold', | ||
'background-color': '#EEFFEE', | ||
|
||
'font-size': '50px', // For Yanone Kaffeesatz | ||
//'font-size': '40px', // For Lucida Grande | ||
|
||
'letter-spacing': '0' // For Yanone Kaffeesatz | ||
//'letter-spacing': '-4' // For Lucida Grande | ||
|
||
}, | ||
'a': { | ||
'text-decoration': 'none', | ||
'color': '#000000' | ||
}, | ||
'a:hover': { | ||
'text-decoration': 'none', | ||
'color': '#666666' | ||
} | ||
} | ||
}); |
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.