FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[de] Links in RSS feeds.

 
Post new topic   Reply to topic    PyLucid - CMS - Forum Forum Index -> plugins
View previous topic :: View next topic  
Author Message
fte378



Joined: 20 Oct 2008
Posts: 2
Location: Quickborn, DE

PostPosted: Tue 21 Oct, 2008 13:11    Post subject: [de] Links in RSS feeds. Reply with quote

Sollte in der internal_page RSS.html der Link zum Ursprungsartikel nicht so aussehen?

Code:

    <h1><a href="{{ entry.link }}">{{ entry.title|safe }}</a></h1>


Ich hab keine Vorstellung, was summary_detail.base an der Stelle bringen sollte.

Gruss, Frank

edit (jens): Titel verbessert
Back to top
View user's profile Send private message
jens
Administrator


Joined: 12 Oct 2005
Posts: 972
Location: duisburg, germany

PostPosted: Wed 22 Oct, 2008 19:06    Post subject: Reply with quote

Also eigentlich sieht er ja so aus:
Code:
<h1><a href="{{ entry.title_detail.base }}">{{ entry.title|safe }}</a></h1>

siehe: http://trac.pylucid.net/browser/trunk/pylucid/media/PyLucid/internal_page/RSS/RSS.html?rev=1656

Wenn du bei dir keine richtigen Links bekommst, dann könntest du evtl. mal mit debug nachsehen. Ich hab das mal dokumentiert: http://www.pylucid.org/_goto/20/RSS/#debugging
_________________

http://www.jensdiemer.de | http://www.htfx.de | http://www.python-forum.de
Back to top
View user's profile Send private message
fte378



Joined: 20 Oct 2008
Posts: 2
Location: Quickborn, DE

PostPosted: Thu 23 Oct, 2008 08:20    Post subject: Reply with quote

jens wrote:
Also eigentlich sieht er ja so aus: ... entry.title_detail.base ...

Sorry, das meinte ich auch.

Ich bekomme auch Links, allerdings ist jeder Artikel mit dem eigentlichen Feed verlinkt und nicht mit dem entsprechenden Einzelartikel. Ist das so gewollt?

Wenn ich einem Artikel-Link folge, erwarte ich den vollständigen Artikel und nicht erst die Feed-Übersicht, aus der ich mir dann wieder die Überschrift raussuchen muss, um diese dann noch einmal auszuwählen.

entry.title_detail.base erzeugt für jeden Artikel den gleichen Link, nämlich den zum Feed. Mein Beispiel (entry.link) erzeugt für jede Überschrift den Link zum eigentlichen Artikel.

Gruss, Frank
Back to top
View user's profile Send private message
jens
Administrator


Joined: 12 Oct 2005
Posts: 972
Location: duisburg, germany

PostPosted: Thu 23 Oct, 2008 08:53    Post subject: Reply with quote

Ah, jetzt weiß ich auch was du meinst. Hast natürlich recht. Ich hab's geändert in:
Code:
<h1><a href="{{ entry.link }}">{{ entry.title|safe }}</a></h1>

siehe: http://trac.pylucid.net/changeset/1785

Danke für das feedback Laughing
_________________

http://www.jensdiemer.de | http://www.htfx.de | http://www.python-forum.de
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PyLucid - CMS - Forum Forum Index -> plugins All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

<< back to PyLucid CMS Homepage



Powered by phpBB © 2001, 2005 phpBB Group