projects
/
tweeper.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix naming conventions for the generate_enclosure functon
[tweeper.git]
/
tweeper.php
diff --git
a/tweeper.php
b/tweeper.php
index
27be95d
..
f712c87
100644
(file)
--- a/
tweeper.php
+++ b/
tweeper.php
@@
-110,7
+110,7
@@
class Tweeper {
/**
* Generate an RSS <enclosure/> element.
*/
/**
* Generate an RSS <enclosure/> element.
*/
- public static function generate
_e
nclosure($url) {
+ public static function generate
E
nclosure($url) {
$supported_content_types = array(
"application/ogg",
"audio/aac",
$supported_content_types = array(
"application/ogg",
"audio/aac",
@@
-203,7
+203,7
@@
class Tweeper {
$xsltProcessor = new XSLTProcessor();
$xsltProcessor->registerPHPFunctions();
$xsltProcessor = new XSLTProcessor();
$xsltProcessor->registerPHPFunctions();
- $xsltProcessor->setParameter('', 'generate
E
nclosure', $this->generate_enclosure);
+ $xsltProcessor->setParameter('', 'generate
-e
nclosure', $this->generate_enclosure);
$xsltProcessor->importStylesheet($xslDoc);
return $xsltProcessor;
$xsltProcessor->importStylesheet($xslDoc);
return $xsltProcessor;