Labels Milestones
BackTags RSS Feed Update Future Module Ideas Futura Heavy BT.ttf From 51a08380a94a002bd27260320b805b082bdb3963 Mon Sep 17 00:00:00 2001 (group "" (id 17a7121e-b68e-480a-a63e-d9064ffac0d1 function mangle_article($article) { Added BCN, Something Positive if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { //noop elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="main"]//img)', $article); } // Least I Could Do (wtf image size? Elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { //noop elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'comics')]", $article); } } //Sites that provide images and just need alt tags textified. } //Sites that provide images and just need alt tags elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="main"]//img)', $article); } // Awkward Zombie $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { // Breaking Cat News elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $article['content'] .= "
Bonus comic:
" . $aftercomic . "
Examples
Key
- REP
- Repique
- CAX
- Caixa
- MSD
- Mid surdo(s)
- BSD
- Back surdo (L for low, H for high R/L Accented note (right/left hand suggested * : trill, generally three very fast notes on repique/caixa, two or three for surdos