projects
/
tweeper.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
3c16cde
)
tweeper.php: write XML in upper case inside comments
author
Antonio Ospite <ao2@ao2.it>
Wed, 18 May 2016 09:13:45 +0000
(11:13 +0200)
committer
Antonio Ospite <ao2@ao2.it>
Fri, 20 May 2016 09:03:52 +0000
(11:03 +0200)
tweeper.php
patch
|
blob
|
history
diff --git
a/tweeper.php
b/tweeper.php
index
f475856
..
bb2db0d
100644
(file)
--- a/
tweeper.php
+++ b/
tweeper.php
@@
-219,7
+219,7
@@
class Tweeper {
}
/**
}
/**
- * Convert json to
xml
.
+ * Convert json to
XML
.
*/
private static function jsonToXml($json, $root_node_name) {
// Apparently the ObjectNormalizer used afterwards is not able to handle
*/
private static function jsonToXml($json, $root_node_name) {
// Apparently the ObjectNormalizer used afterwards is not able to handle
@@
-282,7
+282,7
@@
class Tweeper {
// Handle warnings and errors when loading invalid HTML.
$xml_errors_value = libxml_use_internal_errors(TRUE);
// Handle warnings and errors when loading invalid HTML.
$xml_errors_value = libxml_use_internal_errors(TRUE);
- // If there is a host-specific method to get the
xml
data, use it!
+ // If there is a host-specific method to get the
XML
data, use it!
$get_xml_host_method = 'getXml' . Tweeper::toUpperCamelCase($host, '.');
if (method_exists($this, $get_xml_host_method)) {
$xml_data = call_user_func_array(array($this, $get_xml_host_method), array($html));
$get_xml_host_method = 'getXml' . Tweeper::toUpperCamelCase($host, '.');
if (method_exists($this, $get_xml_host_method)) {
$xml_data = call_user_func_array(array($this, $get_xml_host_method), array($html));