Browse Source

remplacement de recuperer_page() par recuperer_url()

3.0
JamesRezo 1 year ago
parent
commit
1b168d348f
  1. 3
      inc/feedfinder.php

3
inc/feedfinder.php

@ -57,7 +57,8 @@ function is_feed($url) {
* méthode SPIP
*/
if (function_exists('recuperer_page')) {
$buffer = recuperer_page($url);
$buffer = recuperer_url($url);
$buffer = $buffer['page'] ?? '';
if (preg_match("/<(\w*) .*/", $buffer, $matches)) {
//ici on detecte la premiere balise
$type_feed = $matches[1];

Loading…
Cancel
Save