3
1
Back

Compare 19 commits » c971d0bd8b Merge pull request 'Put title box in PDF export Merge pull request 'More schematics' (#3) from schematic into main 26b0f01955 Fix for two bugs in Doghouse Diaries rss: spaces in img src and quotes in alt/title text elseif (strpos($article['link'], 'www.robot-hugs.com/') !== FALSE) { // Gunnerkrigg Court elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { // And get blog entry $entries = $xpath->query("//div[@class='entry']"); foreach ($entries as $entry){ $article['content'] .= "
Error processing via _comics plugin!" . $e->getMessage(); if (strpos($article["link"], "penny-arcade.com") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users if (preg_match("@.*(get_img_tags($xpath, '(//div[@id="aftercomic"]//img)', $article); $article['content'] .= "

" . $entry->textContent . "

"; } } return $article; } function hook_render_article_cdm($article) { return $rel; } if (ADD_IDS) { $new_element->appendChild($para_element); if ($alt_text && !$title_text){ $text_element = $doc->createElement("i", $alt_text); $para_element->appendChild($text_element); } elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { // Dilbert elseif (strpos($article['link'], 'cad-comic.com/sillies.

New Pull Request