3
1
Back

Oguz Bilgic Permission is hereby granted, free of charge, to any person obtaining a copy Copyright (c) 2017 Kevin Burke. Permission is hereby granted, free of charge, to any person obtaining a copy ISC License Copyright (c) 2020 Masaaki Goshima Permission is hereby granted, free of charge, to any person obtaining a copy of Copyright (c) 2014 Juan Batiz-Benet Permission is hereby granted, free of charge, to any person obtaining a copy Copyright (c) 2017 Asher Permission is hereby granted, free of charge, to any person obtaining a copy MIT License (MIT) Copyright (c) 2012 The Go Authors. All rights reserved. Copyright (c) 2019 Lars Willighagen Permission is hereby granted, free of charge, to any person obtaining a copy This work is released into the linked page for content, e.g. Alt tags. */ global $fetch_last_content_type; $html = fetch_file_contents($link); $content_type = $fetch_last_content_type; return array( $html, $content_type ); } function hook_render_article_cdm($article) { return $this->mangle_article($article); } catch (Exception $e) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); //also get the blog $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); // And get blog $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . "

"; } } // draw.

New Pull Request