Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-12-07 18:25:18

Niconemo
Member
From: Rhône-Alpes, France
Registered: 2005-04-18
Posts: 557

Cleanest way to write the head XML link ?

What is the better way to write the <head> link for RSS feed <link rel="alternate" type="application/rss+xml" title="RSS" href="http://mysite.com/?rss=1" /> There is no txp tag ? Must it be hardcoded in XHTML ?

I know the <txp:feed_link /> tag for the <body> of course but what about the <head> ?

Last edited by Niconemo (2005-12-07 18:25:52)


Nico

Offline

#2 2005-12-07 19:04:52

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Cleanest way to write the head XML link ?

Have you tried it? We try anything at least once in the “head” but I’ve never tried that tag. If not I think you are stuck with hardcoding. Let us know if it works by the way. :) Actually I don’t think it will as the tag doesn’t output the application type.

Last edited by thebombsite (2005-12-07 19:07:04)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#3 2005-12-07 19:45:02

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,379
Website GitHub Mastodon

Re: Cleanest way to write the head XML link ?

You can try my mkp_header_link. I am working on an update to get it to work cleanly with ajw_clean_feed (it works now, but they could integrate a bit better).

Last edited by michaelkpate (2005-12-08 02:52:19)

Offline

#4 2005-12-07 19:48:25

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Cleanest way to write the head XML link ?

Jeez I forgot that one Michael. My brain is dim tonight. ;)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#5 2005-12-08 08:32:07

Niconemo
Member
From: Rhône-Alpes, France
Registered: 2005-04-18
Posts: 557

Re: Cleanest way to write the head XML link ?

> michaelkpate wrote:
> You can try my “mkp_header_link(mkp_header_link)

I’m trying. thanks ! ;-)


Nico

Offline

Board footer

Powered by FluxBB