Доработка feedcreator.class.php для валидации в w3c
собственно /includes/feedcreator.class.php нам и нужен для вивисекции
дальше строки кода/на что заменить
if($this->items[$i]->author != "") {
$feed .= " <author>".htmlspecialchars($this->items[$i]->author)."</author>\n";
}
на
if($this->items[$i]->author != "") {
$feed .= " <author>ваш электронный адрес (".htmlspecialchars($this->items[$i]->author).")</author>\n";
}
#546-550
if($this->items[$i]->author != "") {
$feed .= " <author>\n";
$feed .= " <name>".htmlspecialchars($this->items[$i]->author)."</name>\n";
$feed .= " </author>\n";
}
на
if($this->items[$i]->author != "") {
$feed .= " <author>ваш электронный адрес (\n";
$feed .= " <name>".htmlspecialchars($this->items[$i]->author)."</name>\n";
$feed .= " )</author>\n";
}
#818-820
if($this->items[$i]->author != "") {
$feed .= "<author>".htmlspecialchars($this->items[$i]->author)."</author>\n";
}
на
if($this->items[$i]->author != "") {
$feed .= "<author>ваш электронный адрес (".htmlspecialchars($this->items[$i]->author).")</author>\n";
}
Этого вполне достаточно для валидации
« Работа с вкладками | Ускорения отдачи js/css файлов браузеру » |
---|
Категории
- Joostina 1.2.0 ( 1 )
- Joostina 1.3.0 ( 20 )
- Фишки ( 1 )
- Расширения ( 3 )
- Советы ( 13 )
- Процесс ( 3 )
- Обо всём ( 9 )
- Форум для Joostina ( 2 )
- Разработка YaForms ( 3 )
- Книга «Реактивные веб-сайты» ( 3 )
Комментарии
- Jeraldtorry → Вариант переезда с Joostina 1.2.0 на 1.3.0
- Dannygom → Вариант переезда с Joostina 1.2.0 на 1.3.0
- WilliamBus → Вариант переезда с Joostina 1.2.0 на 1.3.0
- Kermitgal → Вариант переезда с Joostina 1.2.0 на 1.3.0
- Jameszib → Вариант переезда с Joostina 1.2.0 на 1.3.0
- Michaelhok → Вариант переезда с Joostina 1.2.0 на 1.3.0
- Jacobhoare → Оптимизация Joostina (вариант htaccess и файлы)