|
@@ -300,7 +300,7 @@ function subscriptionList() {
|
|
|
foreach ($res as $line) {
|
|
foreach ($res as $line) {
|
|
|
$subscriptions[] = array(
|
|
$subscriptions[] = array(
|
|
|
'id' => 'feed/' . $line['id'],
|
|
'id' => 'feed/' . $line['id'],
|
|
|
- 'title' => escapeToUnicodeAlternative($line['name']),
|
|
|
|
|
|
|
+ 'title' => escapeToUnicodeAlternative($line['name'], true),
|
|
|
'categories' => array(
|
|
'categories' => array(
|
|
|
array(
|
|
array(
|
|
|
'id' => 'user/-/label/' . htmlspecialchars_decode($line['c_name'], ENT_QUOTES),
|
|
'id' => 'user/-/label/' . htmlspecialchars_decode($line['c_name'], ENT_QUOTES),
|
|
@@ -506,7 +506,7 @@ function entriesToArray($entries) {
|
|
|
'crawlTimeMsec' => substr($entry->id(), 0, -3),
|
|
'crawlTimeMsec' => substr($entry->id(), 0, -3),
|
|
|
'timestampUsec' => '' . $entry->id(), //EasyRSS
|
|
'timestampUsec' => '' . $entry->id(), //EasyRSS
|
|
|
'published' => $entry->date(true),
|
|
'published' => $entry->date(true),
|
|
|
- 'title' => escapeToUnicodeAlternative($entry->title()),
|
|
|
|
|
|
|
+ 'title' => escapeToUnicodeAlternative($entry->title(), false),
|
|
|
'summary' => array('content' => $entry->content()),
|
|
'summary' => array('content' => $entry->content()),
|
|
|
'alternate' => array(
|
|
'alternate' => array(
|
|
|
array('href' => htmlspecialchars_decode($entry->link(), ENT_QUOTES)),
|
|
array('href' => htmlspecialchars_decode($entry->link(), ENT_QUOTES)),
|
|
@@ -517,14 +517,14 @@ function entriesToArray($entries) {
|
|
|
),
|
|
),
|
|
|
'origin' => array(
|
|
'origin' => array(
|
|
|
'streamId' => 'feed/' . $f_id,
|
|
'streamId' => 'feed/' . $f_id,
|
|
|
- 'title' => escapeToUnicodeAlternative($f_name), //EasyRSS
|
|
|
|
|
|
|
+ 'title' => escapeToUnicodeAlternative($f_name, true), //EasyRSS
|
|
|
//'htmlUrl' => $line['f_website'],
|
|
//'htmlUrl' => $line['f_website'],
|
|
|
),
|
|
),
|
|
|
);
|
|
);
|
|
|
$author = $entry->authors(true);
|
|
$author = $entry->authors(true);
|
|
|
$author = trim($author, '; ');
|
|
$author = trim($author, '; ');
|
|
|
if ($author != '') {
|
|
if ($author != '') {
|
|
|
- $item['author'] = escapeToUnicodeAlternative($author);
|
|
|
|
|
|
|
+ $item['author'] = escapeToUnicodeAlternative($author, false);
|
|
|
}
|
|
}
|
|
|
if ($entry->isRead()) {
|
|
if ($entry->isRead()) {
|
|
|
$item['categories'][] = 'user/-/state/com.google/read';
|
|
$item['categories'][] = 'user/-/state/com.google/read';
|