Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-09-16 19:54:20

wesseltoft
Member
From: Dortmund, Germany
Registered: 2005-08-03
Posts: 108
Website

[de-de] MagpieRSS Problem.

Immer wieder taucht dieser Code ganz weit oben auf. Und ich habe keine Ahnung, woher denn workingidea.com herkommt. Und warum das mit meiner Seite zu tun hat… hat jemand eine Ahnung? Das wäre sehr hilfreich…

<code>
Warning: MagpieRSS: Failed to fetch http://workingidea.com/?atom=1. (HTTP Response: HTTP/1.1 500 Internal Server Error ) in /is/htdocs/wp1005919_O2ESAHSMHG/weblog/textpattern/lib/rss_fetch.inc on line 230</code>

Offline

#2 2005-09-16 21:50:55

aba
Plugin Author
Registered: 2004-04-14
Posts: 119

Re: [de-de] MagpieRSS Problem.

Überprüf mal das Plugin tcm_rss

Offline

#3 2005-09-17 08:39:50

wesseltoft
Member
From: Dortmund, Germany
Registered: 2005-08-03
Posts: 108
Website

Re: [de-de] MagpieRSS Problem.

Das habe ich. Nirgendwo gibt es einen Hinweis auf http://workingidea.com/?atom=1.

Hier der Code:

<code>

function tcm_rss($atts) { require_once($GLOBALS[‘txpcfg’][‘txpath’].’/lib/rss_fetch.inc’); global $pretext, $prefs,$txpcfg; extract($pretext); if (is_array($atts)) extract($atts); $form = (empty($form)) ? ‘rss’ : $form; // might be a form preview, otherwise grab it from the db $Form = safe_field(‘Form’,‘txp_form’,“name=’$form’”); $rss = fetch_rss($feed); foreach($rss->items as $item) { $out[‘posted’] = $item[‘pubDate’]; if($rss->channel[‘webmaster’]) { $out[‘author’] = $rss->channel[‘webmaster’];} if($item[‘author’]) { $out[‘author’] = $item[‘author’]; } $out[‘permlink’] = $item[‘link’]; $out[‘body’] = $item[‘description’]; $out[‘excerpt’] = $item[‘description’]; $out[‘title’] = $item[‘title’]; $GLOBALS[‘thisarticle’] = $out;

// define the article form $article = ($override_form) ? fetch(‘Form’,‘txp_form’,‘name’,$override_form) : $Form;

// quick check for things not pulled from the db $article = doPermlink($article, $out[‘permlink’], $Title, $url_title); $articles[] = parse($article); unset($GLOBALS[‘thisarticle’]); } return join(‘’,$articles);
}
</code>

Offline

#4 2005-09-17 09:23:34

Skubidu
Archived Plugin Author
Registered: 2004-10-23
Posts: 611
Website

Re: [de-de] MagpieRSS Problem.

Hast Du mal im Baustein “rss” (oder den, den Du dafür definiert hast)?
http://workingidea.com ist ansonsten die Webseite vom Autor des Plugins.

Offline

#5 2005-09-18 18:21:49

wesseltoft
Member
From: Dortmund, Germany
Registered: 2005-08-03
Posts: 108
Website

Re: [de-de] MagpieRSS Problem.

Nein, es ist nur der Code <txp:permlink><txp:title /></txp:permlink> da. Komisch.

Offline

#6 2005-09-18 18:23:28

wesseltoft
Member
From: Dortmund, Germany
Registered: 2005-08-03
Posts: 108
Website

Re: [de-de] MagpieRSS Problem.

<code><txp:permlink><txp:title /></txp:permlink></code>

Offline

Board footer

Powered by FluxBB