Projet

Général

Profil

Révision 41cc1b08

Ajouté par Assos Assos il y a presque 9 ans

Update feeds 7.x-2.0-alpha9 -> 7.x-2.0-beta1

Install lib simplepie 1.3.1

Voir les différences:

drupal7/sites/all/libraries/simplepie/LICENSE.txt
1
Copyright (c) 2004-2007, Ryan Parman and Geoffrey Sneddon.
2
All rights reserved.
3

  
4
Redistribution and use in source and binary forms, with or without modification, are 
5
permitted provided that the following conditions are met:
6

  
7
	* Redistributions of source code must retain the above copyright notice, this list of 
8
	  conditions and the following disclaimer.
9

  
10
	* Redistributions in binary form must reproduce the above copyright notice, this list 
11
	  of conditions and the following disclaimer in the documentation and/or other materials 
12
	  provided with the distribution.
13

  
14
	* Neither the name of the SimplePie Team nor the names of its contributors may be used 
15
	  to endorse or promote products derived from this software without specific prior 
16
	  written permission.
17

  
18
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS 
19
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY 
20
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS 
21
AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
22
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 
23
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 
24
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 
25
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
26
POSSIBILITY OF SUCH DAMAGE.
drupal7/sites/all/libraries/simplepie/README.markdown
1
SimplePie
2
=========
3

  
4
SimplePie is a very fast and easy-to-use class, written in PHP, that puts the
5
'simple' back into 'really simple syndication'.  Flexible enough to suit
6
beginners and veterans alike, SimplePie is focused on [speed, ease of use,
7
compatibility and standards compliance][what_is].
8

  
9
[what_is]: http://simplepie.org/wiki/faq/what_is_simplepie
10

  
11

  
12
Requirements
13
------------
14
* PHP 5.2.0 or newer
15
* libxml2 (certain 2.7.x releases are too buggy for words, and will crash)
16
* Either the iconv or mbstring extension
17
* cURL or fsockopen()
18
* PCRE support
19

  
20
If you're looking for PHP 4.x support, pull the "one-dot-two" branch, as that's
21
the last version to support PHP 4.x.
22

  
23

  
24
What comes in the package?
25
--------------------------
26
1. `library/` - SimplePie classes for use with the autoloader
27
2. `autoloader.php` - The SimplePie Autoloader if you want to use the separate
28
   file version.
29
3. `README.markdown` - This document.
30
4. `LICENSE.txt` - A copy of the BSD license.
31
5. `compatibility_test/` - The SimplePie compatibility test that checks your
32
   server for required settings.
33
6. `demo/` - A basic feed reader demo that shows off some of SimplePie's more
34
   noticeable features.
35
7. `idn/` - A third-party library that SimplePie can optionally use to
36
   understand Internationalized Domain Names (IDNs).
37
8. `build/` - Scripts related to generating pieces of SimplePie
38
9. `test/` - SimplePie's unit test suite.
39

  
40
### Where's `simplepie.inc`?
41
For SimplePie 1.3, we've split the classes into separate files to make it easier
42
to maintain and use.
43

  
44
If you'd like a single monolithic file, you can run `php build/compile.php` to
45
generate `SimplePie.compiled.php`, or grab a copy from
46
[dev.simplepie.org][dev_compiled] (this is kept up-to-date with the latest
47
code from Git).
48

  
49
[dev_compiled]: http://dev.simplepie.org/SimplePie.compiled.php
50

  
51

  
52
To start the demo
53
-----------------
54
1. Upload this package to your webserver.
55
2. Make sure that the cache folder inside of the demo folder is server-writable.
56
3. Navigate your browser to the demo folder.
57

  
58

  
59
Need support?
60
-------------
61
For further setup and install documentation, function references, etc., visit
62
[the wiki][wiki]. If you're using the latest version off GitHub, you can also
63
check out the [API documentation][].
64

  
65
If you can't find an answer to your question in the documentation, head on over
66
to one of our [support channels][]. For bug reports and feature requests, visit
67
the [issue tracker][].
68

  
69
[API documentation]: http://dev.simplepie.org/api/
70
[wiki]: http://simplepie.org/wiki/
71
[support channels]: http://simplepie.org/support/
72
[issue tracker]: http://github.com/simplepie/simplepie/issues
73

  
74

  
75
Project status
76
--------------
77
SimplePie is currently maintained by Ryan McCue.
78

  
79
As an open source project, SimplePie is maintained on a somewhat sporadic basis.
80
This means that feature requests may not be fulfilled straight away, as time has
81
to be prioritized.
82

  
83
If you'd like to contribute to SimplePie, the best way to get started is to fork
84
the project on GitHub and send pull requests for patches. When doing so, please
85
be aware of our [coding standards][].
86

  
87
[coding standards]: http://simplepie.org/wiki/misc/coding_standards
88

  
89

  
90
Authors and contributors
91
------------------------
92
### Current
93
* [Ryan McCue][] (Maintainer, support)
94

  
95
### Alumni
96
* [Ryan Parman][] (Creator, developer, evangelism, support)
97
* [Geoffrey Sneddon][] (Lead developer)
98
* [Michael Shipley][] (Submitter of patches, support)
99
* [Steve Minutillo][] (Submitter of patches)
100

  
101
[Ryan McCue]: http://ryanmccue.info
102
[Ryan Parman]: http://ryanparman.com
103
[Geoffrey Sneddon]: http://gsnedders.com
104
[Michael Shipley]: http://michaelpshipley.com
105
[Steve Minutillo]: http://minutillo.com/steve/
106

  
107

  
108
### Contributors
109
For a complete list of contributors:
110

  
111
1. Pull down the latest SimplePie code
112
2. In the `simplepie` directory, run `git shortlog -ns`
113

  
114

  
115
License
116
-------
117
[New BSD license](http://www.opensource.org/licenses/BSD-3-Clause)
drupal7/sites/all/libraries/simplepie/autoloader.php
1
<?php
2
/**
3
 * SimplePie
4
 *
5
 * A PHP-Based RSS and Atom Feed Framework.
6
 * Takes the hard work out of managing a complete RSS/Atom solution.
7
 *
8
 * Copyright (c) 2004-2009, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors
9
 * All rights reserved.
10
 *
11
 * Redistribution and use in source and binary forms, with or without modification, are
12
 * permitted provided that the following conditions are met:
13
 *
14
 * 	* Redistributions of source code must retain the above copyright notice, this list of
15
 * 	  conditions and the following disclaimer.
16
 *
17
 * 	* Redistributions in binary form must reproduce the above copyright notice, this list
18
 * 	  of conditions and the following disclaimer in the documentation and/or other materials
19
 * 	  provided with the distribution.
20
 *
21
 * 	* Neither the name of the SimplePie Team nor the names of its contributors may be used
22
 * 	  to endorse or promote products derived from this software without specific prior
23
 * 	  written permission.
24
 *
25
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS
26
 * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
27
 * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS
28
 * AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
29
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
30
 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
31
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
32
 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
33
 * POSSIBILITY OF SUCH DAMAGE.
34
 *
35
 * @package SimplePie
36
 * @version 1.3.1
37
 * @copyright 2004-2012 Ryan Parman, Geoffrey Sneddon, Ryan McCue
38
 * @author Ryan Parman
39
 * @author Geoffrey Sneddon
40
 * @author Ryan McCue
41
 * @link http://simplepie.org/ SimplePie
42
 * @license http://www.opensource.org/licenses/bsd-license.php BSD License
43
 */
44

  
45

  
46
// autoloader
47
spl_autoload_register(array(new SimplePie_Autoloader(), 'autoload'));
48

  
49
if (!class_exists('SimplePie'))
50
{
51
	trigger_error('Autoloader not registered properly', E_USER_ERROR);
52
}
53

  
54
/**
55
 * Autoloader class
56
 *
57
 * @package SimplePie
58
 * @subpackage API
59
 */
60
class SimplePie_Autoloader
61
{
62
	/**
63
	 * Constructor
64
	 */
65
	public function __construct()
66
	{
67
		$this->path = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'library';
68
	}
69

  
70
	/**
71
	 * Autoloader
72
	 *
73
	 * @param string $class The name of the class to attempt to load.
74
	 */
75
	public function autoload($class)
76
	{
77
		// Only load the class if it starts with "SimplePie"
78
		if (strpos($class, 'SimplePie') !== 0)
79
		{
80
			return;
81
		}
82

  
83
		$filename = $this->path . DIRECTORY_SEPARATOR . str_replace('_', DIRECTORY_SEPARATOR, $class) . '.php';
84
		include $filename;
85
	}
86
}
drupal7/sites/all/libraries/simplepie/build/charset.php
1
<?php
2

  
3
require_once '../autoloader.php';
4

  
5
function normalize_character_set($charset)
6
{
7
	return strtolower(preg_replace('/(?:[^a-zA-Z0-9]+|([^0-9])0+)/', '\1', $charset));
8
}
9

  
10
function build_character_set_list()
11
{
12
	$file = new SimplePie_File('http://www.iana.org/assignments/character-sets');
13
	if (!$file->success && !($file->method & SIMPLEPIE_FILE_SOURCE_REMOTE === 0 || ($file->status_code === 200 || $file->status_code > 206 && $file->status_code < 300)))
14
	{
15
		return false;
16
	}
17
	else
18
	{
19
		$data = explode("\n", $file->body);
20
		unset($file);
21
		
22
		foreach ($data as $line)
23
		{
24
			// New character set
25
			if (preg_match('/^Name:\s+(\S+)/', $line, $match))
26
			{
27
				// If we already have one, push it on to the array
28
				if (isset($aliases))
29
				{
30
					foreach ($aliases as &$alias)
31
					{
32
						$alias = normalize_character_set($alias);
33
					}
34
					$charsets[$preferred] = array_unique($aliases);
35
					natsort($charsets[$preferred]);
36
				}
37
				
38
				$aliases = array($match[1]);
39
				$preferred = $match[1];
40
			}
41
			// Another alias
42
			elseif (preg_match('/^Alias:\s+(\S+)(\s+\(preferred MIME name\))?\s*$/', $line, $match))
43
			{
44
				if ($match[1] !== 'None')
45
				{
46
					$aliases[] = $match[1];
47
					if (isset($match[2]))
48
					{
49
						$preferred = $match[1];
50
					}
51
				}
52
			}
53
		}
54
		
55
		// Compatibility replacements
56
		// From http://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html#misinterpreted-for-compatibility
57
		$compat = array(
58
			'EUC-KR' => 'windows-949',
59
			'GB2312' => 'GBK',
60
			'GB_2312-80' => 'GBK',
61
			'ISO-8859-1' => 'windows-1252',
62
			'ISO-8859-9' => 'windows-1254',
63
			'ISO-8859-11' => 'windows-874',
64
			'KS_C_5601-1987' => 'windows-949',
65
			'Shift_JIS' => 'Windows-31J',
66
			'TIS-620' => 'windows-874',
67
			//'US-ASCII' => 'windows-1252',
68
		);
69
		
70
		foreach ($compat as $real => $replace)
71
		{
72
			if (isset($charsets[$real]) && isset($charsets[$replace]))
73
			{
74
				$charsets[$replace] = array_merge($charsets[$replace], $charsets[$real]);
75
				unset($charsets[$real]);
76
			}
77
			elseif (isset($charsets[$real]))
78
			{
79
				$charsets[$replace] = $charsets[$real];
80
				$charsets[$replace][] = normalize_character_set($replace);
81
				unset($charsets[$real]);
82
			}
83
			else
84
			{
85
				$charsets[$replace][] = normalize_character_set($real);
86
			}
87
			$charsets[$replace] = array_unique($charsets[$replace]);
88
			natsort($charsets[$replace]);
89
		}
90
		
91
		// Sort it
92
		uksort($charsets, 'strnatcasecmp');
93
		
94
		// Check that nothing matches more than one
95
		$all = call_user_func_array('array_merge', $charsets);
96
		$all_count = array_count_values($all);
97
		if (max($all_count) > 1)
98
		{
99
			echo "Duplicated charsets:\n";
100
			foreach ($all_count as $charset => $count)
101
			{
102
				if ($count > 1)
103
				{
104
					echo "$charset\n";
105
				}
106
			}
107
		}
108
		
109
		// And we're done!
110
		return $charsets;
111
	}
112
}
113

  
114
function charset($charset)
115
{
116
	$normalized_charset = normalize_character_set($charset);
117
	if ($charsets = build_character_set_list())
118
	{
119
		foreach ($charsets as $preferred => $aliases)
120
		{
121
			if (in_array($normalized_charset, $aliases))
122
			{
123
				return $preferred;
124
			}
125
		}
126
		return $charset;
127
	}
128
	else
129
	{
130
		return false;
131
	}
132
}
133

  
134
function build_function()
135
{
136
	if ($charsets = build_character_set_list())
137
	{
138
		$return = <<<EOF
139
public static function encoding(\$charset)
140
{
141
	// Normalization from UTS #22
142
	switch (strtolower(preg_replace('/(?:[^a-zA-Z0-9]+|([^0-9])0+)/', '\\1', \$charset)))
143
	{
144

  
145
EOF;
146
		foreach ($charsets as $preferred => $aliases)
147
		{
148
			foreach ($aliases as $alias)
149
			{
150
				$return .= "\t\tcase " . var_export($alias, true) . ":\n";
151
			}
152
			$return .= "\t\t\treturn " . var_export($preferred, true) . ";\n\n";
153
		}
154
		$return .= <<<EOF
155
		default:
156
			return \$charset;
157
	}
158
}
159
EOF;
160
		return $return;
161
	}
162
	else
163
	{
164
		return false;
165
	}
166
}
167

  
168
if (php_sapi_name() === 'cli' && realpath($_SERVER['argv'][0]) === __FILE__)
169
{
170
	echo build_function();
171
}
172

  
173
?>
drupal7/sites/all/libraries/simplepie/build/compile.php
1
<?php
2
// Set up our constants
3
define('SP_PATH', dirname(dirname(__FILE__)));
4
define('COMPILED', SP_PATH . DIRECTORY_SEPARATOR . 'SimplePie.compiled.php');
5

  
6
function remove_header($contents)
7
{
8
	$tokens = token_get_all($contents);
9
	$stripped_source = '';
10
	$stripped_doc = false;
11
	$stripped_open = false;
12
	foreach ($tokens as $value)
13
	{
14
		if (is_string($value))
15
		{
16
			$stripped_source .= "{$value}";
17
			continue;
18
		}
19
		switch ($value[0])
20
		{
21
			case T_DOC_COMMENT:
22
				if (!$stripped_doc)
23
				{
24
					$stripped_doc = true;
25
					continue 2;
26
				}
27
				break;
28
			case T_OPEN_TAG:
29
				if (!$stripped_open)
30
				{
31
					$stripped_open = true;
32
					continue 2;
33
				}
34
				break;
35
		}
36
		$stripped_source .= "{$value[1]}";
37
	}
38

  
39
	return $stripped_source;
40
}
41

  
42
// Start with the header
43
$compiled = file_get_contents(SP_PATH . '/build/header.txt');
44
$compiled .= "\n";
45

  
46
// Add the base class
47
$contents = file_get_contents(SP_PATH . '/library/SimplePie.php');
48
$compiled .= remove_header($contents) . "\n";
49

  
50
// Add all the files in the SimplePie directory
51
$files = new RecursiveIteratorIterator(new RecursiveDirectoryIterator(SP_PATH . '/library/SimplePie'));
52
foreach($files as $file_path => $info)
53
{
54
	$contents = file_get_contents($file_path);
55
	$compiled .= remove_header($contents) . "\n";
56
}
57

  
58
// Strip excess whitespace
59
$compiled = preg_replace("#\n\n\n+#", "\n\n", $compiled);
60

  
61
// Hardcode the build
62
$compiled = str_replace(
63
	"define('SIMPLEPIE_BUILD', gmdate('YmdHis', SimplePie_Misc::get_build()))",
64
	"define('SIMPLEPIE_BUILD', '" . gmdate('YmdHis', time()) . "')",
65
	$compiled
66
);
67

  
68
// Finally, save
69
file_put_contents(COMPILED, $compiled);
drupal7/sites/all/libraries/simplepie/build/header.txt
1
<?php
2
/**
3
 * SimplePie
4
 *
5
 * A PHP-Based RSS and Atom Feed Framework.
6
 * Takes the hard work out of managing a complete RSS/Atom solution.
7
 *
8
 * Please note: This file is automatically generated by a build script. The
9
 * full original source is always available from http://simplepie.org/
10
 *
11
 * Copyright (c) 2004-2012, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors
12
 * All rights reserved.
13
 *
14
 * Redistribution and use in source and binary forms, with or without modification, are
15
 * permitted provided that the following conditions are met:
16
 *
17
 * 	* Redistributions of source code must retain the above copyright notice, this list of
18
 * 	  conditions and the following disclaimer.
19
 *
20
 * 	* Redistributions in binary form must reproduce the above copyright notice, this list
21
 * 	  of conditions and the following disclaimer in the documentation and/or other materials
22
 * 	  provided with the distribution.
23
 *
24
 * 	* Neither the name of the SimplePie Team nor the names of its contributors may be used
25
 * 	  to endorse or promote products derived from this software without specific prior
26
 * 	  written permission.
27
 *
28
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS
29
 * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
30
 * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS
31
 * AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
32
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
33
 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
34
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
35
 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
36
 * POSSIBILITY OF SUCH DAMAGE.
37
 *
38
 * @package SimplePie
39
 * @version 1.3.1
40
 * @copyright 2004-2012 Ryan Parman, Geoffrey Sneddon, Ryan McCue
41
 * @author Ryan Parman
42
 * @author Geoffrey Sneddon
43
 * @author Ryan McCue
44
 * @link http://simplepie.org/ SimplePie
45
 * @license http://www.opensource.org/licenses/bsd-license.php BSD License
46
 */
drupal7/sites/all/libraries/simplepie/compatibility_test/COMPATIBILITY README.txt
1
SIMPLEPIE COMPATIBILITY TEST
2

  
3
1) Upload sp_compatibility_test.php to the web-accessible root of your website.
4
For example, if your website is www.example.com, upload it so that you can get 
5
to it at www.example.com/sp_compatibility_test.php
6

  
7
2) Open your web browser and go to the page you just uploaded.
drupal7/sites/all/libraries/simplepie/compatibility_test/sp_compatibility_test.php
1
<?php
2
if (isset($_GET['logopng']))
3
{
4
	$data='iVBORw0KGgoAAAANSUhEUgAAAZAAAAAtCAYAAACAnD3TAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEg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+y9R9JH6AMBk4I0W7gZUtmilZ74XKpP0i1nsT+3KhOpKkmpNh7h3iWkPsQ5aEFgWnLIlF3WH/f8/YwUuh2LmMgWwOclzHqL4rYpe1eftrDrO7KJ8HlHvl6IDzheGOcobjPXu6f8m6CcET9Bz7GyBblonhV5lqXW/9MSmo7o4LEgpW+KgRz1Obvt+qxV5gNsK/j193vIh51OUaF9JJBSuQ+RVQLdjd4wIdFJBRVjBc2dF2pWuuMQwZ4gMQ4G2gH0gEtR/UDAxsC6d3vb/xbHBw0uoM+kqiXFsXeHKS/bDivojzuldcrtGi0soY1xOJDOlLuwy+XxMUbeUH1SW1cFOxPY6rP30LQb2lbQX6tLHWWY945wmJeJ+XUJSezlNYGeJ0bHnnKeuSf9pj+zbW7KEOttEtyvExyrss0YyNEjzT+lVKveNJmxGOEw5xNwUKFNtzDON9DvmEK/p3PsVm2fXP5TGci+oH8d3WYIiQIUmUBP3oX6/bKqdHaxcDCQV31E8cuAg4Hcdyjo81lDmH+PVT/z+pLg5YXlA/X7pfkQO+hfRjc4SJWGg8ZCthTHW2DNYf+w7FIAVI8ePV4ObLtCJzQTXUUwBpKF+sPyCVrfWTUqvEePHj1agR3nwsHGtgdT0iJJF4dGGEiPHj16dBlsN/ieiMxBngPkvwlyjmDHi0LPQHr06PESEfPvLdwxNj3zKEFlN94ePXr0eAYoO91gi9Pial4EegbSo0ePl4g53DEQJtgxbY2aC0Wvwuoe7DNxHnEZ33voEQYJdGCjMeY+ofcECg4+P8zETwyhQw9M/MS8Zx5+CBYH0qNHjx49Xhb+H6JWCt7+7okIAAAAAElFTkSuQmCC';
5
	header('Content-type: image/png');
6
	echo base64_decode($data);
7
	exit;
8
}
9
else if (isset($_GET['background']))
10
{
11
	$data='R0lGODlhMAEeAeYAAP///8ni6cTf5+72+PD3+c3k6+nz9ufy9ev099Pn7bnZ48bg6LfY4uHv8/r8/f3+/v7//7bX4cjh6fj7/Mvj6vz9/rva4+z19/X6+/f7/Pn8/fb6+7jZ4v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eSRSCap5P+SNsLg5JNQRinllFRWaeWVWGap5ZZcdunll2CGKeaYZELpxJlopqnmmmy26eabcMYp55x01mnnnXjmqeeefPaZJheABirooIQWauihiCaq6KKMNuroo5BGKumklFZqqaBZZKrpppx26umnoIYq6qiklmrqqaimquqqrLbq6qubxiDrrLTWauutuOaq66689urrr8AGK+ywxBZr7LHI0orEssw26+yz0EYr7bTUVmvttdhmq+223Hbr7bfghtvsEuSWa+656Kar7rrstuvuu/DGK++89NZr77345quvuQL06++/AAcs8MAEF2zwwQgnrPDCDDfs8MMQRyzxxBRXbPH/xRhnrPHGHHeMsBAghyzyyCSXbPLJKKes8sost+zyyzDHLPPMNNdss8gL5Kzzzjz37PPPQAct9NBEF2300UgnrfTSTDft9NNQRy311FRXbfXVWGdNdBJcd+3112CHLfbYZJdt9tlop6322my37fbbcMctt9cS1G333XjnrffefPft99+ABy744IQXbvjhiCeu+OKMN+7445BHLvnklFcOeACYZ6755px37vnnoIcu+uikl2766ainrvrqrLfu+uuwxy777LTXbvvtuI9Ow+689+7778AHL/zwxBdv/PHIJ6/88sw37/zz0EffOwXUV2/99dhnr/323Hfv/ffghy/+//jkl2/++einr/767Lfv/vvwxy///PR/H8T9+Oev//789+///wAMoAAHSMACGvCACEygAhfIwAbmrwAQjKAEJ0jBClrwghjMoAY3yMEOevCDIAyhCEdIwhKa8IQoTKEKV8jCFrrwhTDcoBJmSMMa2vCGOMyhDnfIwx768IdADKIQh0jEIhrxiEhMYg1ZwMQmOvGJUIyiFKdIxSpa8YpYzKIWt8jFLnrxi2AMoxid6IUymvGMaEyjGtfIxja68Y1wjKMc50jHOtrxjnjMox73eEYd+PGPgAykIAdJyEIa8pCITKQiF8nIRjrykZCMpCQnSUlA4uCSmMykJjfJyU568v+ToAylKEdJylKa8pSoTKUqV8nKVmZyBbCMpSxnScta2vKWuMylLnfJy1768pfADKYwh0nMYhpTljZIpjKXycxmOvOZ0IymNKdJzWpa85rYzKY2t8nNbnrzm8tMgDjHSc5ymvOc6EynOtfJzna6853wjKc850nPetrznvjMpz73yc9++vOfAA2oQNtZgoIa9KAITahCF8rQhjr0oRCNqEQnStGKWvSiGM2oRjd6UCx49KMgDalIR0rSkpr0pChNqUpXytKWuvSlMI2pTGdKU5D24KY4zalOd8rTnvr0p0ANqlCHStSiGvWoSE2qUpfK1Kbm1AdQjapUp0rVqlr1qlj/zapWt8rVrnr1q2ANq1jHStaymlWqJ0irWtfK1ra69a1wjatc50rXutr1rnjNq173yte++vWvay2CYAdL2MIa9rCITaxiF8vYxjr2sZCNrGQnS9nKWvaymCWsCjbL2c569rOgDa1oR0va0pr2tKhNrWpXy9rWuva1sI1tZ1tA29ra9ra4za1ud8vb3vr2t8ANrnCHS9ziGve4yE2ucm07heY697nQja50p0vd6lr3utjNrna3y93ueve74A2veMf73BmY97zoTa9618ve9rr3vfCNr3znS9/62ve++M2vfvfLX/Sa4L8ADrCAB0zgAhv4wAhOsIIXzOAGO/jBEI6w/4QnTOEKB/gIGM6whjfM4Q57+MMgDrGIR0ziEpv4xChOsYpXzOIWu1jDRIixjGdM4xrb+MY4zrGOd8zjHvv4x0AOspCHTOQiG/nIM46CkpfM5CY7+clQjrKUp0zlKlv5yljOspa3zOUue/nLYGbyC8ZM5jKb+cxoTrOa18zmNrv5zXCOs5znTOc62/nOeM5zmbvA5z77+c+ADrSgB03oQhv60IhOtKIXzehGO/rRkI60pP0MhEpb+tKYzrSmN83pTnv606AOtahHTepSm/rUqE61qld96Qa4+tWwjrWsZ03rWtv61rjOta53zete+/rXwA62sIdN7GIb+9jITrayl//N7GY7O9c/iLa0p03talv72tjOtra3ze1ue/vb4A63uMdN7nKb+9zTtoK6183udrv73fCOt7znTe962/ve+M63vvfN7377+98AZ7cMBk7wghv84AhPuMIXzvCGO/zhEI+4xCdO8Ypb/OIYz3jBd8Dxjnv84yAPuchHTvKSm/zkKE+5ylfO8pa7/OUwj7nMPc6Dmtv85jjPuc53zvOe+/znQA+60IdO9KIb/ehIT7rSl37zKzj96VC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ZI7uZRbuZZ7uZibuZq7uZzbuZ77uaAbuqI7uqRbuqZ7uqibuqq7uqzbuq77urAbu7I7u7Rbu7Z7u7ibu7q7u7zbu777u8AbvMI7vMRbvMZ7vMibvMq7vMzbvM77vNAbvdI7vdRbvdZ7vdibvdq7vdzbvd77veAbvuI7vuRbvuZ7vuibvuq7vuzbvu77vvAbv/I7v/Rbv/Z7v/ibv/q7v/zbv/77vwAcwAI8wARcwAZ8wAicwAq8wAzcwA78wBAcwRI8wRRcwRZ8wRicwRq8wRzcwR78wSAcwiI8wiRcwiZ8wiicwiq8wizcwi78wjAcwzI8wzRcFcM2fMM4nMM6vMM83MM+/MNArLmBAAA7';
12
	header('Content-type: image/gif');
13
	echo base64_decode($data);
14
	exit;
15
}
16

  
17
$php_ok = (function_exists('version_compare') && version_compare(phpversion(), '5.2.0', '>='));
18
$pcre_ok = extension_loaded('pcre');
19
$curl_ok = function_exists('curl_exec');
20
$zlib_ok = extension_loaded('zlib');
21
$mbstring_ok = extension_loaded('mbstring');
22
$iconv_ok = extension_loaded('iconv');
23
if (extension_loaded('xmlreader'))
24
{
25
	$xml_ok = true;
26
}
27
elseif (extension_loaded('xml'))
28
{
29
	$parser_check = xml_parser_create();
30
	xml_parse_into_struct($parser_check, '<foo>&amp;</foo>', $values);
31
	xml_parser_free($parser_check);
32
	$xml_ok = isset($values[0]['value']);
33
}
34
else
35
{
36
	$xml_ok = false;
37
}
38

  
39
header('Content-type: text/html; charset=UTF-8');
40

  
41
?><!DOCTYPE html>
42

  
43
<html lang="en">
44
<head>
45
<title>SimplePie: Server Compatibility Test 1.3</title>
46

  
47
<style type="text/css">
48
body {
49
	font:14px/1.4em "Lucida Grande", Verdana, Arial, Helvetica, Clean, Sans, sans-serif;
50
	letter-spacing:0px;
51
	color:#333;
52
	margin:0;
53
	padding:0;
54
	background:#fff url(<?php echo pathinfo(__FILE__, PATHINFO_BASENAME); ?>?background) repeat-x top left;
55
}
56

  
57
div#site {
58
	width:550px;
59
	margin:20px auto 0 auto;
60
}
61

  
62
a {
63
	color:#000;
64
	text-decoration:underline;
65
	padding:0 1px;
66
}
67

  
68
a:hover {
69
	color:#fff;
70
	background-color:#333;
71
	text-decoration:none;
72
	padding:0 1px;
73
}
74

  
75
p {
76
	margin:0;
77
	padding:5px 0;
78
}
79

  
80
em {
81
	font-style:normal;
82
	background-color:#ffc;
83
}
84

  
85
ul, ol {
86
	margin:10px 0 10px 20px;
87
	padding:0 0 0 15px;
88
}
89

  
90
ul li, ol li {
91
	margin:0 0 7px 0;
92
	padding:0 0 0 3px;
93
}
94

  
95
h2 {
96
	font-size:18px;
97
	padding:0;
98
	margin:30px 0 10px 0;
99
}
100

  
101
h3 {
102
	font-size:16px;
103
	padding:0;
104
	margin:20px 0 5px 0;
105
}
106

  
107
h4 {
108
	font-size:14px;
109
	padding:0;
110
	margin:15px 0 5px 0;
111
}
112

  
113
code {
114
	font-size:1.1em;
115
	background-color:#f3f3ff;
116
	color:#000;
117
}
118

  
119
em strong {
120
    text-transform: uppercase;
121
}
122

  
123
table#chart {
124
	border-collapse:collapse;
125
}
126

  
127
table#chart th {
128
	background-color:#eee;
129
	padding:2px 3px;
130
	border:1px solid #fff;
131
}
132

  
133
table#chart td {
134
	text-align:center;
135
	padding:2px 3px;
136
	border:1px solid #eee;
137
}
138

  
139
table#chart tr.enabled td {
140
	/* Leave this alone */
141
}
142

  
143
table#chart tr.disabled td, 
144
table#chart tr.disabled td a {
145
	color:#999;
146
	font-style:italic;
147
}
148

  
149
table#chart tr.disabled td a {
150
	text-decoration:underline;
151
}
152

  
153
div.chunk {
154
	margin:20px 0 0 0;
155
	padding:0 0 10px 0;
156
	border-bottom:1px solid #ccc;
157
}
158

  
159
.footnote,
160
.footnote a {
161
	font:10px/12px verdana, sans-serif;
162
	color:#aaa;
163
}
164

  
165
.footnote em {
166
	background-color:transparent;
167
	font-style:italic;
168
}
169
</style>
170

  
171
<script type="text/javascript">
172
// Sleight - Alpha transparency PNG's in Internet Explorer 5.5/6.0
173
// (c) 2001, Aaron Boodman; http://www.youngpup.net
174

  
175
if (navigator.platform == "Win32" && navigator.appName == "Microsoft Internet Explorer" && window.attachEvent) {
176
	document.writeln('<style type="text/css">img, input.image { visibility:hidden; } </style>');
177
	window.attachEvent("onload", fnLoadPngs);
178
}
179

  
180
function fnLoadPngs() {
181
	var rslt = navigator.appVersion.match(/MSIE (\d+\.\d+)/, '');
182
	var itsAllGood = (rslt != null && Number(rslt[1]) >= 5.5);
183

  
184
	for (var i = document.images.length - 1, img = null; (img = document.images[i]); i--) {
185
		if (itsAllGood && img.src.match(/\png$/i) != null) {
186
			var src = img.src;
187
			var div = document.createElement("DIV");
188
			div.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + src + "', sizing='scale')";
189
			div.style.width = img.width + "px";
190
			div.style.height = img.height + "px";
191
			img.replaceNode(div);
192
		}
193
		img.style.visibility = "visible";
194
	}
195
}
196
</script>
197

  
198
</head>
199

  
200
<body>
201

  
202
<div id="site">
203
	<div id="content">
204

  
205
		<div class="chunk">
206
			<h2 style="text-align:center;"><img src="<?php echo pathinfo(__FILE__, PATHINFO_BASENAME); ?>?logopng" alt="SimplePie Compatibility Test" title="SimplePie Compatibility Test" /></h2>
207
			<table cellpadding="0" cellspacing="0" border="0" width="100%" id="chart">
208
				<thead>
209
					<tr>
210
						<th>Test</th>
211
						<th>Should Be</th>
212
						<th>What You Have</th>
213
					</tr>
214
				</thead>
215
				<tbody>
216
					<tr class="<?php echo ($php_ok) ? 'enabled' : 'disabled'; ?>">
217
						<td>PHP</td>
218
						<td>5.2.0 or higher</td>
219
						<td><?php echo phpversion(); ?></td>
220
					</tr>
221
					<tr class="<?php echo ($xml_ok) ? 'enabled, and sane' : 'disabled, or broken'; ?>">
222
						<td><a href="http://php.net/xml">XML</a></td>
223
						<td>Enabled</td>
224
						<td><?php echo ($xml_ok) ? 'Enabled, and sane' : 'Disabled, or broken'; ?></td>
225
					</tr>
226
					<tr class="<?php echo ($pcre_ok) ? 'enabled' : 'disabled'; ?>">
227
						<td><a href="http://php.net/pcre">PCRE</a>&sup1;</td>
228
						<td>Enabled</td>
229
						<td><?php echo ($pcre_ok) ? 'Enabled' : 'Disabled'; ?></td>
230
					</tr>
231
					<tr class="<?php echo ($curl_ok) ? 'enabled' : 'disabled'; ?>">
232
						<td><a href="http://php.net/curl">cURL</a></td>
233
						<td>Enabled</td>
234
						<td><?php echo (extension_loaded('curl')) ? 'Enabled' : 'Disabled'; ?></td>
235
					</tr>
236
					<tr class="<?php echo ($zlib_ok) ? 'enabled' : 'disabled'; ?>">
237
						<td><a href="http://php.net/zlib">Zlib</a></td>
238
						<td>Enabled</td>
239
						<td><?php echo ($zlib_ok) ? 'Enabled' : 'Disabled'; ?></td>
240
					</tr>
241
					<tr class="<?php echo ($mbstring_ok) ? 'enabled' : 'disabled'; ?>">
242
						<td><a href="http://php.net/mbstring">mbstring</a></td>
243
						<td>Enabled</td>
244
						<td><?php echo ($mbstring_ok) ? 'Enabled' : 'Disabled'; ?></td>
245
					</tr>
246
					<tr class="<?php echo ($iconv_ok) ? 'enabled' : 'disabled'; ?>">
247
						<td><a href="http://php.net/iconv">iconv</a></td>
248
						<td>Enabled</td>
249
						<td><?php echo ($iconv_ok) ? 'Enabled' : 'Disabled'; ?></td>
250
					</tr>
251
				</tbody>
252
			</table>
253
		</div>
254

  
255
		<div class="chunk">
256
			<h3>What does this mean?</h3>
257
			<ol>
258
				<?php if ($php_ok && $xml_ok && $pcre_ok && $mbstring_ok && $iconv_ok && $curl_ok && $zlib_ok): ?>
259
				<li><em>You have everything you need to run SimplePie properly!  Congratulations!</em></li>
260
				<?php else: ?>
261
					<?php if ($php_ok): ?>
262
						<li><strong>PHP:</strong> You are running a supported version of PHP.  <em>No problems here.</em></li>
263
						<?php if ($xml_ok): ?>
264
							<li><strong>XML:</strong> You have XMLReader support or a version of XML support that isn't broken installed.  <em>No problems here.</em></li>
265
							<?php if ($pcre_ok): ?>
266
								<li><strong>PCRE:</strong> You have PCRE support installed. <em>No problems here.</em></li>
267
								<?php if ($curl_ok): ?>
268
									<li><strong>cURL:</strong> You have <code>cURL</code> support installed.  <em>No problems here.</em></li>
269
								<?php else: ?>
270
									<li><strong>cURL:</strong> The <code>cURL</code> extension is not available.  SimplePie will use <code>fsockopen()</code> instead.</li>
271
								<?php endif; ?>
272
	
273
								<?php if ($zlib_ok): ?>
274
									<li><strong>Zlib:</strong> You have <code>Zlib</code> enabled.  This allows SimplePie to support GZIP-encoded feeds.  <em>No problems here.</em></li>
275
								<?php else: ?>
276
									<li><strong>Zlib:</strong> The <code>Zlib</code> extension is not available.  SimplePie will ignore any GZIP-encoding, and instead handle feeds as uncompressed text.</li>
277
								<?php endif; ?>
278
	
279
								<?php if ($mbstring_ok && $iconv_ok): ?>
280
									<li><strong>mbstring and iconv:</strong> You have both <code>mbstring</code> and <code>iconv</code> installed!  This will allow SimplePie to handle the greatest number of languages.  Check the <a href="http://simplepie.org/wiki/faq/supported_character_encodings">Supported Character Encodings</a> chart to see what's supported on your webhost.</li>
281
								<?php elseif ($mbstring_ok): ?>
282
									<li><strong>mbstring:</strong> <code>mbstring</code> is installed, but <code>iconv</code> is not.  Check the <a href="http://simplepie.org/wiki/faq/supported_character_encodings">Supported Character Encodings</a> chart to see what's supported on your webhost.</li>
283
								<?php elseif ($iconv_ok): ?>
284
									<li><strong>iconv:</strong> <code>iconv</code> is installed, but <code>mbstring</code> is not.  Check the <a href="http://simplepie.org/wiki/faq/supported_character_encodings">Supported Character Encodings</a> chart to see what's supported on your webhost.</li>
285
								<?php else: ?>
286
									<li><strong>mbstring and iconv:</strong> <em>You do not have either of the extensions installed.</em> This will significantly impair your ability to read non-English feeds, as well as even some English ones.  Check the <a href="http://simplepie.org/wiki/faq/supported_character_encodings">Supported Character Encodings</a> chart to see what's supported on your webhost.</li>
287
								<?php endif; ?>
288
							<?php else: ?>
289
								<li><strong>PCRE:</strong> Your PHP installation doesn't support Perl-Compatible Regular Expressions.  <em>SimplePie is a no-go at the moment.</em></li>
290
							<?php endif; ?>
291
						<?php else: ?>
292
							<li><strong>XML:</strong> Your PHP installation doesn't support XML parsing.  <em>SimplePie is a no-go at the moment.</em></li>
293
						<?php endif; ?>
294
					<?php else: ?>
295
						<li><strong>PHP:</strong> You are running an unsupported version of PHP.  <em>SimplePie is a no-go at the moment.</em></li>
296
					<?php endif; ?>
297
				<?php endif; ?>
298
			</ol>
299
		</div>
300

  
301
		<div class="chunk">
302
			<?php if ($php_ok && $xml_ok && $pcre_ok && $mbstring_ok && $iconv_ok) { ?>
303
				<h3>Bottom Line: Yes, you can!</h3>
304
				<p><em>Your webhost has its act together!</em></p>
305
				<p>You can download the latest version of SimplePie from <a href="http://simplepie.org/downloads/">SimplePie.org</a> and install it by <a href="http://simplepie.org/wiki/setup/start">following the instructions</a>.  You can find example uses with <a href="http://simplepie.org/ideas/">SimplePie Ideas</a>.</p>
306
				<p>Take the time to read <a href="http://simplepie.org/wiki/setup/start">Requirements and Getting Started</a> to make sure you're prepared to use SimplePie. No seriously, read them.</p>
307
				<p class="footnote"><em><strong>Note</strong></em>: Passing this test does not guarantee that SimplePie will run on your webhost &mdash; it only ensures that the basic requirements have been addressed.</p>
308
			<?php } else if ($php_ok && $xml_ok && $pcre_ok) { ?>
309
				<h3>Bottom Line: Yes, you can!</h3>
310
				<p><em>For most feeds, it'll run with no problems.</em>  There are <a href="http://simplepie.org/wiki/faq/supported_character_encodings">certain languages</a> that you might have a hard time with though.</p>
311
				<p>You can download the latest version of SimplePie from <a href="http://simplepie.org/downloads/">SimplePie.org</a> and install it by <a href="http://simplepie.org/wiki/setup/start">following the instructions</a>.  You can find example uses with <a href="http://simplepie.org/ideas/">SimplePie Ideas</a>.</p>
312
				<p>Take the time to read <a href="http://simplepie.org/wiki/setup/start">Requirements and Getting Started</a> to make sure you're prepared to use SimplePie. No seriously, read them.</p>
313
				<p class="footnote"><em><strong>Note</strong></em>: Passing this test does not guarantee that SimplePie will run on your webhost &mdash; it only ensures that the basic requirements have been addressed.</p>
314
			<?php } else { ?>
315
				<h3>Bottom Line: We're sorry…</h3>
316
				<p><em>Your webhost does not support the minimum requirements for SimplePie.</em>  It may be a good idea to contact your webhost, and ask them to install a more recent version of PHP as well as the <code>xmlreader</code>, <code>xml</code>, <code>mbstring</code>, <code>iconv</code>, <code>curl</code>, and <code>zlib</code> extensions.</p>
317
			<?php } ?>
318
		</div>
319

  
320
		<div class="chunk">
321
			<p class="footnote">&sup1; &mdash; Some recent versions of the PCRE (PERL-Compatible Regular Expression) engine compiled into PHP have been buggy, and are the source of PHP segmentation faults (e.g. crashes) which cause random things like blank, white screens. Check the <a href="http://simplepie.org/support/">Support Forums</a> for the latest information on patches and ongoing fixes.</p>
322
		</div>
323

  
324
	</div>
325

  
326
</div>
327

  
328
</body>
329
</html>
drupal7/sites/all/libraries/simplepie/composer.json
1
{
2
	"name": "simplepie/simplepie",
3
	"description": "A simple Atom/RSS parsing library for PHP",
4
	"type": "library",
5
	"keywords": ["rss", "atom", "feeds"],
6
	"homepage": "http://simplepie.org/",
7
	"license": "BSD-3-Clause",
8
	"authors": [
9
		{
10
			"name": "Ryan Parman",
11
			"homepage": "http://ryanparman.com/",
12
			"role": "Creator, alumnus developer"
13
		},
14
		{
15
			"name": "Geoffrey Sneddon",
16
			"homepage": "http://gsnedders.com/",
17
			"role": "Alumnus developer"
18
		},
19
		{
20
			"name": "Ryan McCue",
21
			"email": "me@ryanmccue.info",
22
			"homepage": "http://ryanmccue.info/",
23
			"role": "Developer"
24
		}
25
	],
26
	"require": {
27
		"php": ">=5.2.0"
28
	},
29
	"autoload": {
30
		"psr-0": {
31
			"SimplePie": "library"
32
		}
33
	}
34
}
drupal7/sites/all/libraries/simplepie/db.sql
1
/* SQLite */
2
CREATE TABLE cache_data (
3
	id TEXT NOT NULL,
4
	items SMALLINT NOT NULL DEFAULT 0,
5
	data BLOB NOT NULL,
6
	mtime INTEGER UNSIGNED NOT NULL
7
);
8
CREATE UNIQUE INDEX id ON cache_data(id);
9

  
10
CREATE TABLE items (
11
	feed_id TEXT NOT NULL,
12
	id TEXT NOT NULL,
13
	data TEXT NOT NULL,
14
	posted INTEGER UNSIGNED NOT NULL
15
);
16
CREATE INDEX feed_id ON items(feed_id);
17

  
18

  
19
/* MySQL */
20
CREATE TABLE `cache_data` (
21
	`id` TEXT CHARACTER SET utf8 NOT NULL,
22
	`items` SMALLINT NOT NULL DEFAULT 0,
23
	`data` BLOB NOT NULL,
24
	`mtime` INT UNSIGNED NOT NULL,
25
	UNIQUE (
26
		`id`(125)
27
	)
28
);
29

  
30
CREATE TABLE `items` (
31
	`feed_id` TEXT CHARACTER SET utf8 NOT NULL,
32
	`id` TEXT CHARACTER SET utf8 NOT NULL,
33
	`data` TEXT CHARACTER SET utf8 NOT NULL,
34
	`posted` INT UNSIGNED NOT NULL,
35
	INDEX `feed_id` (
36
		`feed_id`(125)
37
	)
38
);
drupal7/sites/all/libraries/simplepie/demo/cli_test.php
1
#!/usr/bin/php
2
<?php
3
include_once('../autoloader.php');
4

  
5
// Parse it
6
$feed = new SimplePie();
7
if (isset($argv[1]) && $argv[1] !== '')
8
{
9
	$feed->set_feed_url($argv[1]);
10
	$feed->enable_cache(false);
11
	$feed->init();
12
}
13

  
14
$items = $feed->get_items();
15

  
16
foreach ($items as $item)
17
{
18
	echo $item->get_title() . "\n";
19
}
20

  
21
var_dump($feed->get_item_quantity());
22

  
23
?>
drupal7/sites/all/libraries/simplepie/demo/for_the_demo/mediaplayer_readme.htm
1
<html>
2
<head>
3
<meta http-equiv="refresh" content="0;url=http://www.jeroenwijering.com/extras/readme.html">
4
</head>
5
</html>
drupal7/sites/all/libraries/simplepie/demo/for_the_demo/sIFR-print.css
1
/*=:project
2
    scalable Inman Flash Replacement (sIFR) version 3.
3

  
4
  =:file
5
    Copyright: 2006 Mark Wubben.
6
    Author: Mark Wubben, <http://novemberborn.net/>
7

  
8
  =:history
9
    * IFR: Shaun Inman
10
    * sIFR 1: Mike Davidson, Shaun Inman and Tomas Jogin
11
    * sIFR 2: Mike Davidson, Shaun Inman, Tomas Jogin and Mark Wubben
12

  
13
  =:license
14
    This software is licensed and provided under the CC-GNU LGPL.
15
    See <http://creativecommons.org/licenses/LGPL/2.1/>    
16
*/
17

  
18

  
19
/* This is the print stylesheet to hide the Flash headlines from the browser... regular browser text headlines will now print as normal */
20

  
21
.sIFR-flash {
22
	display: none !important;
23
	height: 0;
24
	width: 0;
25
	position: absolute;
26
	overflow: hidden;
27
}
28

  
29
.sIFR-alternate {
30
	visibility: visible !important;
31
	display: block !important;
32
	position: static !important;
33
	left: auto !important;
34
	top: auto !important;
35
}
drupal7/sites/all/libraries/simplepie/demo/for_the_demo/sIFR-screen.css
1
/*=:project
2
    scalable Inman Flash Replacement (sIFR) version 3.
3

  
4
  =:file
5
    Copyright: 2006 Mark Wubben.
6
    Author: Mark Wubben, <http://novemberborn.net/>
7

  
8
  =:history
9
    * IFR: Shaun Inman
10
    * sIFR 1: Mike Davidson, Shaun Inman and Tomas Jogin
11
    * sIFR 2: Mike Davidson, Shaun Inman, Tomas Jogin and Mark Wubben
12

  
13
  =:license
14
    This software is licensed and provided under the CC-GNU LGPL.
15
    See <http://creativecommons.org/licenses/LGPL/2.1/>    
16
*/
17

  
18
/*---- sIFR ---*/
19
.sIFR-flash {
20
	visibility: visible !important;
21
	margin: 0;
22
	padding: 0;
23
}
24

  
25
.sIFR-replaced {
26
	visibility: visible !important;
27
}
28

  
29
.sIFR-alternate {
30
	position: absolute;
31
	left: 0;
32
	top: 0;
33
	width: 0;
34
	height: 0;
35
	display: block;
36
	overflow: hidden;
37
}
38

  
39
/*---- Header styling ---*/
drupal7/sites/all/libraries/simplepie/demo/for_the_demo/sifr-config.js
1
var yanone_kaffeesatz = {
2
	src: './for_the_demo/yanone-kaffeesatz-bold.swf'
3
};
4

  
5
var lucida_grande = {
6
	src: './for_the_demo/lucida-grande-bold.swf'
7
};
8

  
9
sIFR.activate(yanone_kaffeesatz);
10
//sIFR.activate(lucida_grande);
11

  
12
sIFR.replace(yanone_kaffeesatz, {
13
//sIFR.replace(lucida_grande, {
14

  
15
	selector: 'h3.header',
16
	wmode: 'transparent',
17
	css: {
18
		'.sIFR-root': {
19
			'text-align': 'center',
20
			'color': '#000000',
21
			'font-weight': 'bold',
22
			'background-color': '#EEFFEE',
23

  
24
			'font-size': '50px', // For Yanone Kaffeesatz
25
			//'font-size': '40px', // For Lucida Grande
26

  
27
			'letter-spacing': '0' // For Yanone Kaffeesatz
28
			//'letter-spacing': '-4' // For Lucida Grande
29

  
30
		},
31
		'a': {
32
			'text-decoration': 'none',
33
			'color': '#000000'
34
		},
35
		'a:hover': {
36
			'text-decoration': 'none',
37
			'color': '#666666'
38
		}
39
	}
40
});
drupal7/sites/all/libraries/simplepie/demo/for_the_demo/sifr.js
1
/*=:project
2
    scalable Inman Flash Replacement (sIFR) version 3, revision 245
3

  
4
  =:file
5
    Copyright: 2006 Mark Wubben.
6
    Author: Mark Wubben, <http://novemberborn.net/>
7

  
8
  =:history
9
    * IFR: Shaun Inman
10
    * sIFR 1: Mike Davidson, Shaun Inman and Tomas Jogin
11
    * sIFR 2: Mike Davidson, Shaun Inman, Tomas Jogin and Mark Wubben
12

  
13
  =:license
14
    This software is licensed and provided under the CC-GNU LGPL.
15
    See <http://creativecommons.org/licenses/LGPL/2.1/>    
16
*/
17

  
18
var parseSelector=(function(){var _1=/\s*,\s*/;var _2=/\s*([\s>+~(),]|^|$)\s*/g;var _3=/([\s>+~,]|[^(]\+|^)([#.:@])/g;var _4=/^[^\s>+~]/;var _5=/[\s#.:>+~()@]|[^\s#.:>+~()@]+/g;function parseSelector(_6,_7){_7=_7||document.documentElement;var _8=_6.split(_1),_9=[];for(var i=0;i<_8.length;i++){var _b=[_7],_c=toStream(_8[i]);for(var j=0;j<_c.length;){var _e=_c[j++],_f=_c[j++],_10="";if(_c[j]=="("){while(_c[j++]!=")"&&j<_c.length){_10+=_c[j]}_10=_10.slice(0,-1)}_b=select(_b,_e,_f,_10)}_9=_9.concat(_b)}return _9}function toStream(_11){var _12=_11.replace(_2,"$1").replace(_3,"$1*$2");if(_4.test(_12)){_12=" "+_12}return _12.match(_5)||[]}function select(_13,_14,_15,_16){return (_17[_14])?_17[_14](_13,_15,_16):[]}var _18={toArray:function(_19){var a=[];for(var i=0;i<_19.length;i++){a.push(_19[i])}return a}};var dom={isTag:function(_1d,tag){return (tag=="*")||(tag.toLowerCase()==_1d.nodeName.toLowerCase())},previousSiblingElement:function(_1f){do{_1f=_1f.previousSibling}while(_1f&&_1f.nodeType!=1);return _1f},nextSiblingElement:function(_20){do{_20=_20.nextSibling}while(_20&&_20.nodeType!=1);return _20},hasClass:function(_21,_22){return (_22.className||"").match("(^|\\s)"+_21+"(\\s|$)")},getByTag:function(tag,_24){return _24.getElementsByTagName(tag)}};var _17={"#":function(_25,_26){for(var i=0;i<_25.length;i++){if(_25[i].getAttribute("id")==_26){return [_25[i]]}}return []}," ":function(_28,_29){var _2a=[];for(var i=0;i<_28.length;i++){_2a=_2a.concat(_18.toArray(dom.getByTag(_29,_28[i])))}return _2a},">":function(_2c,_2d){var _2e=[];for(var i=0,_30;i<_2c.length;i++){_30=_2c[i];for(var j=0,_32;j<_30.childNodes.length;j++){_32=_30.childNodes[j];if(_32.nodeType==1&&dom.isTag(_32,_2d)){_2e.push(_32)}}}return _2e},".":function(_33,_34){var _35=[];for(var i=0,_37;i<_33.length;i++){_37=_33[i];if(dom.hasClass([_34],_37)){_35.push(_37)}}return _35},":":function(_38,_39,_3a){return (pseudoClasses[_39])?pseudoClasses[_39](_38,_3a):[]}};parseSelector.selectors=_17;parseSelector.pseudoClasses={};parseSelector.util=_18;parseSelector.dom=dom;return parseSelector})();
19
var sIFR=new function(){var _3b=this;var _3c="sIFR-active";var _3d="sIFR-replaced";var _3e="sIFR-replacing";var _3f="sIFR-flash";var _40="sIFR-ignore";var _41="sIFR-alternate";var _42="sIFR-class";var _43="sIFR-layout";var _44=6;var _45=126;var _46=8;var _47="SIFR-PREFETCHED";var _48=[10,1.55,19,1.45,32,1.35,71,1.3,1.25];var _49=5;this.isActive=false;this.isEnabled=true;this.hideElements=true;this.preserveSingleWhitespace=false;this.fixWrap=true;this.fixHover=true;this.registerEvents=true;this.setPrefetchCookie=true;this.cookiePath="/";this.domains=[];this.fromLocal=true;this.forceClear=false;this.forceWidth=false;this.fitExactly=false;this.forceTextTransform=true;this.useDomContentLoaded=true;this.debugMode=false;this.hasFlashClassSet=false;this.delayCss=false;this.callbacks=[];var _4a=0;var _4b=false,_4c=false;var dom=new function(){var _4e="http://www.w3.org/1999/xhtml";this.getBody=function(){var _4f=document.getElementsByTagName("body");if(_4f.length==1){return _4f[0]}return null};this.addClass=function(_50,_51){if(_51){_51.className=((_51.className||"")==""?"":_51.className+" ")+_50}};this.removeClass=function(_52,_53){if(_53){_53.className=_53.className.replace(new RegExp("(^|\\s)"+_52+"(\\s|$)"),"").replace(/^\s+|(\s)\s+/g,"$1")}};this.hasClass=function(_54,_55){return new RegExp("(^|\\s)"+_54+"(\\s|$)").test(_55.className)};this.hasOneOfClassses=function(_56,_57){for(var i=0;i<_56.length;i++){if(this.hasClass(_56[i],_57)){return true}}return false};this.create=function(_59){if(document.createElementNS){return document.createElementNS(_4e,_59)}return document.createElement(_59)};this.setInnerHtml=function(_5a,_5b){if(ua.innerHtmlSupport){_5a.innerHTML=_5b}else{if(ua.xhtmlSupport){_5b=["<root xmlns=\"",_4e,"\">",_5b,"</root>"].join("");var xml=(new DOMParser()).parseFromString(_5b,"text/xml");xml=document.importNode(xml.documentElement,true);while(_5a.firstChild){_5a.removeChild(_5a.firstChild)}while(xml.firstChild){_5a.appendChild(xml.firstChild)}}}};this.nodeFromHtml=function(_5d){var _5e=this.create("div");_5e.innerHTML=_5d;return _5e.firstChild};this.getComputedStyle=function(_5f,_60){var _61;if(document.defaultView&&document.defaultView.getComputedStyle){_61=document.defaultView.getComputedStyle(_5f,null)[_60]}else{if(_5f.currentStyle){_61=_5f.currentStyle[_60]}}return _61||""};this.getStyleAsInt=function(_62,_63,_64){var _65=this.getComputedStyle(_62,_63);if(_64&&!/px$/.test(_65)){return 0}_65=parseInt(_65);return isNaN(_65)?0:_65};this.getZoom=function(){return _66.zoom.getLatest()}};this.dom=dom;var ua=new function(){var ua=navigator.userAgent.toLowerCase();var _69=(navigator.product||"").toLowerCase();this.macintosh=ua.indexOf("mac")>-1;this.windows=ua.indexOf("windows")>-1;this.quicktime=false;this.opera=ua.indexOf("opera")>-1;this.konqueror=_69.indexOf("konqueror")>-1;this.ie=false/*@cc_on || true @*/;this.ieSupported=this.ie&&!/ppc|smartphone|iemobile|msie\s5\.5/.test(ua)/*@cc_on && @_jscript_version >= 5.5 @*/;this.ieWin=this.ie&&this.windows/*@cc_on && @_jscript_version >= 5.1 @*/;this.windows=this.windows&&(!this.ie||this.ieWin);this.ieMac=this.ie&&this.macintosh/*@cc_on && @_jscript_version < 5.1 @*/;this.macintosh=this.macintosh&&(!this.ie||this.ieMac);this.safari=ua.indexOf("safari")>-1;this.webkit=ua.indexOf("applewebkit")>-1&&!this.konqueror;this.khtml=this.webkit||this.konqueror;this.gecko=!this.webkit&&_69=="gecko";this.operaVersion=this.opera&&/.*opera(\s|\/)(\d+\.\d+)/.exec(ua)?parseInt(RegExp.$2):0;this.webkitVersion=this.webkit&&/.*applewebkit\/(\d+).*/.exec(ua)?parseInt(RegExp.$1):0;this.geckoBuildDate=this.gecko&&/.*gecko\/(\d{8}).*/.exec(ua)?parseInt(RegExp.$1):0;this.konquerorVersion=this.konqueror&&/.*konqueror\/(\d\.\d).*/.exec(ua)?parseInt(RegExp.$1):0;this.flashVersion=0;if(this.ieWin){var axo;var _6b=false;try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(e){try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");this.flashVersion=6;axo.AllowScriptAccess="always"}catch(e){_6b=this.flashVersion==6}if(!_6b){try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(e){}}}if(!_6b&&axo){this.flashVersion=parseFloat(/([\d,?]+)/.exec(axo.GetVariable("$version"))[1].replace(/,/g,"."))}}else{if(navigator.plugins&&navigator.plugins["Shockwave Flash"]){var _6c=navigator.plugins["Shockwave Flash"];this.flashVersion=parseFloat(/(\d+\.?\d*)/.exec(_6c.description)[1]);var i=0;while(this.flashVersion>=_46&&i<navigator.mimeTypes.length){var _6e=navigator.mimeTypes[i];if(_6e.type=="application/x-shockwave-flash"&&_6e.enabledPlugin.description.toLowerCase().indexOf("quicktime")>-1){this.flashVersion=0;this.quicktime=true}i++}}}this.flash=this.flashVersion>=_46;this.transparencySupport=this.macintosh||this.windows;this.computedStyleSupport=this.ie||document.defaultView&&document.defaultView.getComputedStyle&&(!this.gecko||this.geckoBuildDate>=20030624);this.css=true;if(this.computedStyleSupport){try{var _6f=document.getElementsByTagName("head")[0];_6f.style.backgroundColor="#FF0000";var _70=dom.getComputedStyle(_6f,"backgroundColor");this.css=!_70||/\#F{2}0{4}|rgb\(255,\s?0,\s?0\)/i.test(_70);_6f.style.backgroundColor="";_6f=null}catch(e){}}this.xhtmlSupport=!!window.DOMParser&&!!document.importNode;try{var n=dom.create("span");if(!this.ieMac){n.innerHTML="x"}this.innerHtmlSupport=n.innerHTML=="x"}catch(e){this.innerHtmlSupport=false}this.zoomSupport=!!(this.opera&&document.documentElement);this.geckoXml=this.gecko&&(document.contentType||"").indexOf("xml")>-1;this.requiresPrefetch=this.ieWin||this.khtml;this.verifiedKonqueror=false;this.supported=this.flash&&this.css&&(!this.ie||this.ieSupported)&&(!this.opera||this.operaVersion>=8)&&(!this.webkit||this.webkitVersion>=412)&&(!this.konqueror||this.konquerorVersion>3.5)&&this.computedStyleSupport&&(this.innerHtmlSupport||!this.khtml&&this.xhtmlSupport)};this.ua=ua;var _72=new function(){var _73={leading:true,"margin-left":true,"margin-right":true,"text-indent":true};var _74=" ";function capitalize($){return $.toUpperCase()}this.normalize=function(str){if(_3b.preserveSingleWhitespace){return str.replace(/\s/g,_74)}return str.replace(/(\s)\s+/g,"$1").replace(/\xA0/,_74)};this.textTransform=function(_77,str){switch(_77){case "uppercase":str=str.toUpperCase();break;case "lowercase":str=str.toLowerCase();break;case "capitalize":var _79=str;str=str.replace(/^\w|\s\w/g,capitalize);if(str.indexOf("function capitalize")!=-1){var _7a=_79.replace(/(^|\s)(\w)/g,"$1$1$2$2").split(/^\w|\s\w/g);str="";for(var i=0;i<_7a.length;i++){str+=_7a[i].charAt(0).toUpperCase()+_7a[i].substring(1)}}break}return str};this.toHexString=function(str){if(typeof (str)!="string"||!str.charAt(0)=="#"||str.length!=4&&str.length!=7){return str}str=str.replace(/#/,"");if(str.length==3){str=str.replace(/(.)(.)(.)/,"$1$1$2$2$3$3")}return "0x"+str};this.toJson=function(obj){var _7e="";switch(typeof (obj)){case "string":_7e="\""+obj+"\"";break;case "number":case "boolean":_7e=obj.toString();break;case "object":_7e=[];for(var _7f in obj){if(obj[_7f]==Object.prototype[_7f]){continue}_7e.push("\""+_7f+"\":"+_72.toJson(obj[_7f]))}_7e="{"+_7e.join(",")+"}";break}return _7e};this.convertCssArg=function(arg){if(!arg){return {}}if(typeof (arg)=="object"){if(arg.constructor==Array){arg=arg.join("")}else{return arg}}var obj={};var _82=arg.split("}");for(var i=0;i<_82.length;i++){var $=_82[i].match(/([^\s{]+)\s*\{(.+)\s*;?\s*/);if(!$||$.length!=3){continue}if(!obj[$[1]]){obj[$[1]]={}}var _85=$[2].split(";");for(var j=0;j<_85.length;j++){var $2=_85[j].match(/\s*([^:\s]+)\s*\:\s*([^\s;]+)/);if(!$2||$2.length!=3){continue}obj[$[1]][$2[1]]=$2[2]}}return obj};this.extractFromCss=function(css,_89,_8a,_8b){var _8c=null;if(css&&css[_89]&&css[_89][_8a]){_8c=css[_89][_8a];if(_8b){delete css[_89][_8a]}}return _8c};this.cssToString=function(arg){var css=[];for(var _8f in arg){var _90=arg[_8f];if(_90==Object.prototype[_8f]){continue}css.push(_8f,"{");for(var _91 in _90){if(_90[_91]==Object.prototype[_91]){continue}var _92=_90[_91];if(_73[_91]){_92=parseInt(_92,10)}css.push(_91,":",_92,";")}css.push("}")}return escape(css.join(""))};this.bind=function(_93,_94){return function(){_93[_94].apply(_93,arguments)}}};this.util=_72;var _66={};_66.fragmentIdentifier=new function(){this.fix=true;var _95;this.cache=function(){_95=document.title};function doFix(){document.title=_95}this.restore=function(){if(this.fix){setTimeout(doFix,0)}}};_66.synchronizer=new function(){this.isBlocked=false;this.block=function(){this.isBlocked=true};this.unblock=function(){this.isBlocked=false;_96.replaceAll()}};_66.zoom=new function(){var _97=100;this.getLatest=function(){return _97};if(ua.zoomSupport&&ua.opera){var _98=document.createElement("div");_98.style.position="fixed";_98.style.left="-65536px";_98.style.top="0";_98.style.height="100%";_98.style.width="1px";_98.style.zIndex="-32";document.documentElement.appendChild(_98);function updateZoom(){if(!_98){return}var _99=window.innerHeight/_98.offsetHeight;var _9a=Math.round(_99*100)%10;if(_9a>5){_99=Math.round(_99*100)+10-_9a}else{_99=Math.round(_99*100)-_9a}_97=isNaN(_99)?100:_99;_66.synchronizer.unblock();document.documentElement.removeChild(_98);_98=null}_66.synchronizer.block();setTimeout(updateZoom,54)}};this.hacks=_66;var _9b={kwargs:[],replaceAll:function(){for(var i=0;i<this.kwargs.length;i++){_3b.replace(this.kwargs[i])}this.kwargs=[]}};var _96={kwargs:[],replaceAll:_9b.replaceAll};function isValidDomain(){if(_3b.domains.length==0){return true}var _9d="";try{_9d=document.domain}catch(e){}if(_3b.fromLocal&&sIFR.domains[0]!="localhost"){sIFR.domains.unshift("localhost")}for(var i=0;i<_3b.domains.length;i++){var _9f=_3b.domains[i];if(_9f=="*"||_9f==_9d){return true}var _a0=_9f.lastIndexOf("*");if(_a0>-1){_9f=_9f.substr(_a0+1);var _a1=_9d.lastIndexOf(_9f);if(_a1>-1&&(_a1+_9f.length)==_9d.length){return true}}}return false}this.activate=function(){if(!ua.supported||!this.isEnabled||this.isActive||!isValidDomain()){return}if(arguments.length>0){this.prefetch.apply(this,arguments)}this.isActive=true;if(this.hideElements){this.setFlashClass()}if(ua.ieWin&&_66.fragmentIdentifier.fix&&window.location.hash!=""){_66.fragmentIdentifier.cache()}else{_66.fragmentIdentifier.fix=false}if(!this.registerEvents){return}function handler(evt){_3b.initialize();if(evt&&evt.type=="load"){if(document.removeEventListener){document.removeEventListener("DOMContentLoaded",handler,false)}if(window.removeEventListener){window.removeEventListener("load",handler,false)}}}if(window.addEventListener){if(_3b.useDomContentLoaded&&ua.gecko){document.addEventListener("DOMContentLoaded",handler,false)}window.addEventListener("load",handler,false)}else{if(ua.ieWin){if(_3b.useDomContentLoaded){document.write("<scr"+"ipt id=__sifr_ie_onload defer src=//:></script>");document.getElementById("__sifr_ie_onload").onreadystatechange=function(){if(this.readyState=="complete"){handler();this.removeNode()}}}window.attachEvent("onload",handler)}}};this.setFlashClass=function(){if(this.hasFlashClassSet){return}dom.addClass(_3c,dom.getBody()||document.documentElement);this.hasFlashClassSet=true};this.removeFlashClass=function(){if(!this.hasFlashClassSet){return}dom.removeClass(_3c,dom.getBody());dom.removeClass(_3c,document.documentElement);this.hasFlashClassSet=false};this.initialize=function(){if(_4c||!this.isActive||!this.isEnabled){return}_4c=true;_9b.replaceAll();clearPrefetch()};function getSource(src){if(typeof (src)!="string"){if(src.src){src=src.src}if(typeof (src)!="string"){var _a4=[];for(var _a5 in src){if(src[_a5]!=Object.prototype[_a5]){_a4.push(_a5)}}_a4.sort().reverse();var _a6="";var i=-1;while(!_a6&&++i<_a4.length){if(parseFloat(_a4[i])<=ua.flashVersion){_a6=src[_a4[i]]}}src=_a6}}if(!src&&_3b.debugMode){throw new Error("sIFR: Could not determine appropriate source")}if(ua.ie&&src.charAt(0)=="/"){src=window.location.toString().replace(/([^:]+)(:\/?\/?)([^\/]+).*/,"$1$2$3")+src}return src}this.prefetch=function(){if(!ua.requiresPrefetch||!ua.supported||!this.isEnabled||!isValidDomain()){return}if(this.setPrefetchCookie&&new RegExp(";?"+_47+"=true;?").test(document.cookie)){return}try{_4b=true;if(ua.ieWin){prefetchIexplore(arguments)}else{prefetchLight(arguments)}if(this.setPrefetchCookie){document.cookie=_47+"=true;path="+this.cookiePath}}catch(e){if(_3b.debugMode){throw e}}};function prefetchIexplore(_a8){for(var i=0;i<_a8.length;i++){document.write("<script defer type=\"sifr/prefetch\" src=\""+getSource(_a8[i])+"\"></script>")}}function prefetchLight(_aa){for(var i=0;i<_aa.length;i++){new Image().src=getSource(_aa[i])}}function clearPrefetch(){if(!ua.ieWin||!_4b){return}try{var _ac=document.getElementsByTagName("script");for(var i=_ac.length-1;i>=0;i--){var _ae=_ac[i];if(_ae.type=="sifr/prefetch"){_ae.parentNode.removeChild(_ae)}}}catch(e){}}function getRatio(_af,_b0){for(var i=0;i<_b0.length;i+=2){if(_af<=_b0[i]){return _b0[i+1]}}return _b0[_b0.length-1]}function getFilters(obj){var _b3=[];for(var _b4 in obj){if(obj[_b4]==Object.prototype[_b4]){continue}var _b5=obj[_b4];_b4=[_b4.replace(/filter/i,"")+"Filter"];for(var _b6 in _b5){if(_b5[_b6]==Object.prototype[_b6]){continue}_b4.push(_b6+":"+escape(_72.toJson(_72.toHexString(_b5[_b6]))))}_b3.push(_b4.join(","))}return _b3.join(";")}function calculate(_b7){var _b8,_b9;if(!ua.ie){_b8=dom.getStyleAsInt(_b7,"lineHeight");_b9=Math.floor(dom.getStyleAsInt(_b7,"height")/_b8)}else{if(ua.ie){var _ba=_b7.innerHTML;_b7.style.visibility="visible";_b7.style.overflow="visible";_b7.style.position="static";_b7.style.zoom="normal";_b7.style.writingMode="lr-tb";_b7.style.width=_b7.style.height="auto";_b7.style.maxWidth=_b7.style.maxHeight=_b7.style.styleFloat="none";var _bb=_b7;var _bc=_b7.currentStyle.hasLayout;if(_bc){dom.setInnerHtml(_b7,"<div class=\""+_43+"\">X<br />X<br />X</div>");_bb=_b7.firstChild}else{dom.setInnerHtml(_b7,"X<br />X<br />X")}var _bd=_bb.getClientRects();_b8=_bd[1].bottom-_bd[1].top;_b8=Math.ceil(_b8*0.8);if(_bc){dom.setInnerHtml(_b7,"<div class=\""+_43+"\">"+_ba+"</div>");_bb=_b7.firstChild}else{dom.setInnerHtml(_b7,_ba)}_bd=_bb.getClientRects();_b9=_bd.length;if(_bc){dom.setInnerHtml(_b7,_ba)}_b7.style.visibility=_b7.style.width=_b7.style.height=_b7.style.maxWidth=_b7.style.maxHeight=_b7.style.overflow=_b7.style.styleFloat=_b7.style.position=_b7.style.zoom=_b7.style.writingMode=""}}return {lineHeight:_b8,lines:_b9}}this.replace=function(_be,_bf){if(!ua.supported){return}if(_bf){for(var _c0 in _be){if(typeof (_bf[_c0])=="undefined"){_bf[_c0]=_be[_c0]}}_be=_bf}if(!_4c){return _9b.kwargs.push(_be)}if(_66.synchronizer.isBlocked){return _96.kwargs.push(_be)}var _c1=_be.elements;if(!_c1&&parseSelector){_c1=parseSelector(_be.selector)}if(_c1.length==0){return}this.setFlashClass();var src=getSource(_be.src);var css=_72.convertCssArg(_be.css);var _c4=getFilters(_be.filters);var _c5=(_be.forceClear==null)?_3b.forceClear:_be.forceClear;var _c6=(_be.fitExactly==null)?_3b.fitExactly:_be.fitExactly;var _c7=_c6||(_be.forceWidth==null?_3b.forceWidth:_be.forceWidth);var _c8=parseInt(_72.extractFromCss(css,".sIFR-root","leading"))||0;var _c9=_72.extractFromCss(css,".sIFR-root","font-size",true)||0;var _ca=_72.extractFromCss(css,".sIFR-root","background-color",true)||"#FFFFFF";var _cb=_72.extractFromCss(css,".sIFR-root","kerning",true)||"";var _cc=_be.gridFitType||_72.extractFromCss(css,".sIFR-root","text-align")=="right"?"subpixel":"pixel";var _cd=_3b.forceTextTransform?_72.extractFromCss(css,".sIFR-root","text-transform",true)||"none":"none";var _ce=_72.extractFromCss(css,".sIFR-root","opacity",true)||"100";var _cf=_be.pixelFont||false;var _d0=_be.ratios||_48;if(parseInt(_c9).toString()!=_c9&&_c9.indexOf("px")==-1){_c9=0}else{_c9=parseInt(_c9)}if(parseFloat(_ce)<1){_ce=100*parseFloat(_ce)}var _d1=null;var _d2="";if(_c6){_72.extractFromCss(css,".sIFR-root","text-align",true)}if(!_be.modifyCss){_d2=_72.cssToString(css);_d1=_3b.fixHover&&_d2.indexOf("%3Ahover")>-1}var _d3=!ua.opera&&_3b.delayCss;var _d4=_be.wmode||"";if(!_d4){if(_be.transparent){_d4="transparent"}else{if(_be.opaque){_d4="opaque"}}}if(_d4=="transparent"){if(!ua.transparencySupport){_d4="opaque"}else{_ca="transparent"}}for(var i=0;i<_c1.length;i++){var _d6=_c1[i];if(!ua.verifiedKonqueror){if(dom.getComputedStyle(_d6,"lineHeight").match(/e\+08px/)){ua.supported=_3b.isEnabled=false;this.removeFlashClass();return}ua.verifiedKonqueror=true}if(dom.hasOneOfClassses([_3d,_3e,_40,_41],_d6)){continue}var _d7=_d6.offsetHeight;var _d8=_d6.offsetWidth;var _d9=dom.getComputedStyle(_d6,"display");if(!_d7||!_d8||_d9==null||_d9=="none"){continue}if(_c5&&ua.gecko){_d6.style.clear="both"}var _da=null;if(_3b.fixWrap&&ua.ie&&_d9=="block"){_da=_d6.innerHTML;dom.setInnerHtml(_d6,"X")}_d8=dom.getStyleAsInt(_d6,"width",ua.ie);if(_d8==0){var _db=dom.getStyleAsInt(_d6,"paddingRight",true);var _dc=dom.getStyleAsInt(_d6,"paddingLeft",true);var _dd=dom.getStyleAsInt(_d6,"borderRightWidth",true);var _de=dom.getStyleAsInt(_d6,"borderLeftWidth",true);_d8=_d6.offsetWidth-_dc-_db-_de-_dd}if(_da&&_3b.fixWrap&&ua.ie){dom.setInnerHtml(_d6,_da)}var _df,_e0;if(!_c9){var _e1=calculate(_d6);_df=Math.min(_45,Math.max(_44,_e1.lineHeight));if(_cf){_df=Math.max(8,8*Math.round(_df/8))}_e0=_e1.lines;if(isNaN(_e0)||!isFinite(_e0)||_e0==0){_e0=1}if(_e0>1&&_c8){_d7+=Math.round((_e0-1)*_c8)}}else{_df=_c9;_e0=1}_d7=Math.round(_e0*_df);if(_c5&&ua.gecko){_d6.style.clear=""}var _e2=dom.create("span");_e2.className=_41;var _e3=_d6.cloneNode(true);for(var j=0,l=_e3.childNodes.length;j<l;j++){_e2.appendChild(_e3.childNodes[j].cloneNode(true))}if(_be.modifyContent){_be.modifyContent(_e3,_be.selector)}if(_be.modifyCss){_d2=_be.modifyCss(css,_e3,_be.selector)}if(_d1==null){_d1=_3b.fixHover&&_d2.indexOf("%3Ahover")>-1}var _e6=handleContent(_e3,_cd);if(_be.modifyContentString){_e6=_be.modifyContentString(_e6,_be.selector)}if(_e6==""){continue}var _e7=["content="+_e6,"width="+_d8,"height="+_d7,"fitexactly="+(_c6?"true":""),"tunewidth="+(_be.tuneWidth||""),"tuneheight="+(_be.tuneHeight||""),"offsetleft="+(_be.offsetLeft||""),"offsettop="+(_be.offsetTop||""),"thickness="+(_be.thickness||""),"sharpness="+(_be.sharpness||""),"kerning="+_cb,"gridfittype="+_cc,"zoomsupport="+ua.zoomSupport,"flashfilters="+_c4,"opacity="+_ce,"blendmode="+(_be.blendMode||""),"size="+_df,"zoom="+dom.getZoom(),"css="+_d2,"selectable="+(_be.selectable==null?"true":_be.selectable),"lines="+_e0];var _e8=encodeURI(_e7.join("&amp;"));var _e9="sIFR_callback_"+_4a++;var _ea=new CallbackInfo(_e9,_e7,_be.onReplacement,_d1);window[_e9+"_DoFSCommand"]=(function(_eb){return function(_ec,arg){_eb.handle(_ec,arg)}})(_ea);_d7=Math.round(_e0*getRatio(_df,_d0)*_df)+_49;var _ee=_c7?_d8:"100%";var _ef;if(ua.ie){_ef=["<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" id=\"",_e9,"\" sifr=\"true\" width=\"",_ee,"\" height=\"",_d7,"\" class=\"",_3f,"\">","<param name=\"movie\" value=\"",src,"\"></param>","<param name=\"flashvars\" value=\"",_e8,"\"></param>","<param name=\"allowScriptAccess\" value=\"always\"></param>","<param name=\"quality\" value=\"best\"></param>","<param name=\"wmode\" value=\"",_d4,"\"></param>","<param name=\"bgcolor\" value=\"",_ca,"\"></param>","<param name=\"name\" value=\"",_e9,"\"></param>","</object>","<scr","ipt event=FSCommand(info,args) for=",_e9,">",_e9,"_DoFSCommand(info, args);","</","script>"].join("")}else{_ef=["<embed type=\"application/x-shockwave-flash\"",(_d3?" class=\""+_3f+"\"":"")," src=\"",src,"\" quality=\"best\" flashvars=\"",_e8,"\" width=\"",_ee,"\" height=\"",_d7,"\" wmode=\"",_d4,"\" bgcolor=\"",_ca,"\" name=\"",_e9,"\" id=\"",_e9,"\" allowScriptAccess=\"always\" sifr=\"true\"></embed>"].join("")}dom.setInnerHtml(_d6,_ef);_ea.flashNode=_d6.firstChild;_ea.html=_ef;_3b.callbacks.push(_ea);if(_be.selector){if(!_3b.callbacks[_be.selector]){_3b.callbacks[_be.selector]=[_ea]}else{_3b.callbacks[_be.selector].push(_ea)}}_d6.appendChild(_e2);dom.addClass(_d3?_3e:_3d,_d6);_ea.setupFixHover()}_66.fragmentIdentifier.restore()};this.getCallbackByFlashElement=function(_f0){for(var i=0;i<_3b.callbacks.length;i++){if(_3b.callbacks[i].id==_f0.getAttribute("id")){return _3b.callbacks[i]}}};function handleContent(_f2,_f3){var _f4=[],_f5=[];var _f6=_f2.childNodes;var i=0;while(i<_f6.length){var _f8=_f6[i];if(_f8.nodeType==3){var _f9=_72.normalize(_f8.nodeValue);_f9=_72.textTransform(_f3,_f9);_f5.push(_f9.replace(/\%/g,"%25").replace(/\&/g,"%26").replace(/\,/g,"%2C").replace(/\+/g,"%2B"))}if(_f8.nodeType==1){var _fa=[];var _fb=_f8.nodeName.toLowerCase();var _fc=_f8.className||"";if(/\s+/.test(_fc)){if(_fc.indexOf(_42)>-1){_fc=_fc.match("(\\s|^)"+_42+"-([^\\s$]*)(\\s|$)")[2]}else{_fc=_fc.match(/^([^\s]+)/)[1]}}if(_fc!=""){_fa.push("class=\""+_fc+"\"")}if(_fb=="a"){var _fd=_f8.getAttribute("href")||"";var _fe=_f8.getAttribute("target")||"";_fa.push("href=\""+_fd+"\"","target=\""+_fe+"\"")}_f5.push("<"+_fb+(_fa.length>0?" ":"")+escape(_fa.join(" "))+">");if(_f8.hasChildNodes()){_f4.push(i);i=0;_f6=_f8.childNodes;continue}else{if(!/^(br|img)$/i.test(_f8.nodeName)){_f5.push("</",_f8.nodeName.toLowerCase(),">")}}}if(_f4.length>0&&!_f8.nextSibling){do{i=_f4.pop();_f6=_f8.parentNode.parentNode.childNodes;_f8=_f6[i];if(_f8){_f5.push("</",_f8.nodeName.toLowerCase(),">")}}while(i==_f6.length-1&&_f4.length>0)}i++}return _f5.join("").replace(/\n|\r/g,"")}function CallbackInfo(id,vars,_101,_102){this.id=id;this.vars=vars;this._replacementHandler=_101;this._firedReplacementEvent=!(this._replacementHandler!=null);this._fixHover=_102;this._setClasses=!_3b.delayCss;this.html="";this._pings=0}CallbackInfo.prototype.getFlashElement=function(){return document.getElementById(this.id)};CallbackInfo.prototype.handle=function(info,arg){if(/(FSCommand\:)?resize/.test(info)){var _105=this.getFlashElement();var $=arg.split(/\:|,/);_105.setAttribute($[0],$[1]);if($.length>2){_105.setAttribute($[2],$[3])}if(!this._setClasses){if(!ua.ie&&!ua.opera){dom.addClass(_3f,_105)}dom.removeClass(_3e,_105.parentNode);dom.addClass(_3d,_105.parentNode);this._setClasses=true}if(ua.khtml){var _107=_105.offsetHeight}if(!this._firedReplacementEvent){this._replacementHandler(this);this._firedReplacementEvent=true}}else{if(/(FSCommand\:)?resetmovie/.test(info)){this.resetMovie()}else{if(/(FSCommand\:)?ping/.test(info)){if(this._pings>0){this.setupFixHover()}this._pings++}else{if(this.debugHandler&&/(FSCommand\:)?debug/.test(info)){this.debugHandler(info,arg)}}}}};CallbackInfo.prototype.call=function(type,_109){var _10a=this.getFlashElement();if(!_10a){return}_10a.SetVariable("callbackType",type);_10a.SetVariable("callbackValue",_109);_10a.SetVariable("callbackTrigger",true)};CallbackInfo.prototype.replaceText=function(_10b){_10b=escape(_10b);this.call("replacetext",_10b);this.vars[0]="content="+_10b;this.html=this.html.replace(/(flashvars(=|\"\svalue=)\")[^\"]+/,"$1"+encodeURI(this.vars.join("&amp;")))};CallbackInfo.prototype.resetMovie=function(){var _10c=this.getFlashElement();var node=_10c.parentNode;node.replaceChild(dom.nodeFromHtml(this.html),_10c);this.setupFixHover()};CallbackInfo.prototype.setupFixHover=function(){var _10e=this.getFlashElement();if(!this._fixHover||!_10e){return}var node=_10e.parentNode;if(node.addEventListener){node.addEventListener("mouseout",_72.bind(this,"fixHover"),false)}else{if(node.attachEvent){node.attachEvent("onmouseout",_72.bind(this,"fixHover"))}}};CallbackInfo.prototype.fixHover=function(){this.call("resettext")}};
drupal7/sites/all/libraries/simplepie/demo/for_the_demo/simplepie.css
1
/*
2
Theme Name: SimplePie
3
Theme URI: http://simplepie.org
4
Description: A simple, yet beautiful theme inspired by several cleanly designed websites.
5
Version: 1.4
6
Author: Ryan Parman
7
Author URI: http://skyzyx.com
8
Updated: 21 June 2007
9
*/
10

  
11

  
12
/*********************************************
13
HYPERLINK STYLES
14
*********************************************/
15
a {
16
	color:#369;
17
	text-decoration:underline;
18
	padding:0 1px;
19
}
20

  
21
a:hover {
22
	color:#fff !important;
23
	background-color:#333;
24
	text-decoration:none;
25
	padding:0 1px;
26
}
27

  
28
a.nohover {
29
	text-decoration:none;
30
	border:none;
31
}
32

  
33
a.nohover:hover {
34
	background-color:transparent;
35
	border:none;
36
}
37

  
38
a.namelink {
39
	padding:0;
40
	margin:0;
41
	overflow:hidden;
42
	height:1px;
43
}
44

  
45
h4 a,
46
.sample_feeds a {
47
	color:#000;
48
}
49

  
50

  
51
/*********************************************
52
GENERAL STYLES
53
*********************************************/
54
body {
55
	/*font:12px/18px Verdana, sans-serif;*/
56
	font:14px/1.5em "Lucida Grande", Tahoma, sans-serif;
57
	letter-spacing:0px;
58
	color:#333;
59
	background-color:#fff;
60
	margin:0;
61
	padding:0;
62
}
63

  
64
div#site {
65
	width:600px;
66
	margin:50px auto 0 auto;
67
}
68

  
69
h1#logo {
70
	margin:0;
71
	padding:0;
72
	text-align:center;
73
}
74

  
75
h1#logo a, 
76
h1#logo a:hover {
77
	background-color:transparent;
78
	text-decoration:none;
79
	padding:0;
80
}
81

  
82
h2.image {
83
	margin:0;
84
	padding:0;
85
	text-align:center;
86
}
87

  
88
h3 {
89
	margin:20px 0 0 0;
90
	padding:0;
91
	font-size:1.5em;
92
}
93

  
94
h4 {
95
	margin:20px 0 0 0;
96
	padding:0;
97
	font-size:1.2em;
98
	letter-spacing:-1px;
99
}
100

  
101
h5 {
102
	margin:10px 0 0 0;
103
	padding:0;
104
	font-size:1em;
105
	font-weight:bold;
106
}
107

  
108
em {
109
	font-style:normal;
110
	background-color:#ffc;
111
}
112

  
113
p {
114
	margin:0;
115
	padding:5px 0;
116
}
117

  
118
ul, ol {
119
	margin:10px 0 10px 20px;
120
	padding:0 0 0 15px;
121
}
122

  
123
ul li, ol li {
124
	margin:0 0 7px 0;
125
	padding:0 0 0 3px;
126
}
127

  
128
form {
129
	margin:0;
130
	padding:0;
131
}
132

  
133
code {
134
	font-size:1em;
135
	background-color:#f3f3ff;
136
	color:#000;
137
}
138

  
139
div#site pre {
140
	background-color:#f3f3ff;
141
	color:#000080;
142
	border:1px dotted #000080;
143
	overflow:auto;
144
	padding:3px 5px;
145
}
146

  
147
blockquote {
148
	font-size:1em;
149
	color:#666;
150
	border-left:4px solid #666;
151
	margin:10px 0 10px 30px;
152
	padding:0 5px 0 10px;
153
	background:#f3f3f3 url(background_blockquote.png) repeat top left;
154
}
155

  
156
input, select, textarea {
157
	font-size:12px;
158
	line-height:1.2em;
159
	padding:2px;
160
}
161

  
162
input[type=text], select, textarea {
163
	background-color:#e9f5ff;
164
	border:1px solid #333;
165
}
166

  
167
input[type=text]:focus, select:focus, textarea:focus {
168
	background-color:#ffe;
169
}
170

  
171
.clearLeft {clear:left;}
172
.clearRight {clear:right;}
173
.clearBoth {clear:both;}
174
.hide {display:none;}
175

  
176

  
177
/*********************************************
178
NAVIGATION STYLES
179
*********************************************/
180
div#header {
181
	background:#fff url(top_gradient.gif) repeat-x top left;
182
	margin:0;
183
	padding:0;
184
}
185

  
186
div#header form {
187
	margin:0;
188
	padding:0;
189
}
190

  
... Ce différentiel a été tronqué car il excède la taille maximale pouvant être affichée.

Formats disponibles : Unified diff