Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#37 2007-12-01 04:24:48

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: rah_metas // plugin for automatic metainformation

Well, if it ain’t single article then it shouldn’t output nothin’ that is related to the article and pulled for article – as your example it shows a whole section, not an individual article. Simple as that. And by the way, why are you using chh_article for that? I dont’ see a reason in your example.

Cheers!

Last edited by Gocom (2007-12-01 04:25:32)

Offline

#38 2007-12-01 12:13:57

fuls
Member
Registered: 2005-11-16
Posts: 117
Website

Re: rah_metas // plugin for automatic metainformation

Yep, you are right…I’m using it because I have a lot of different articles on my page and want to list them from different sections…I already tried with txp default tags but It wasn’t working like I wanted.

I guess I need to think of something different regarding metas.

Thanks!

Offline

#39 2007-12-05 01:12:24

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: rah_metas // plugin for automatic metainformation

Updated rah_metas to version 0.9.

Includes new attributes:

  • copyright
  • useauthor
  • customfieldkeywords
  • customfieldexcerpt

Documention and download

Cheers!

Offline

#40 2007-12-05 01:44:55

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: rah_metas // plugin for automatic metainformation

This plugin can output first n words of individual article to meta description?


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#41 2007-12-05 02:07:20

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: rah_metas // plugin for automatic metainformation

As documention says, yes.

In example: <txp:rah_metas words="15" /> outputs: <meta name="description" content="First 15 words from article's body, excerpt or custom field&hellip;" />

Cheers!

Last edited by Gocom (2007-12-05 02:30:39)

Offline

#42 2008-01-07 10:14:21

strawberryfusion
Member
Registered: 2005-07-24
Posts: 20

Re: rah_metas // plugin for automatic metainformation

Hi,

I tried to use:

customfieldexcerpt

It does not work but if I use:

customfieldkeywords

It works and it also uses the information in that custom field for customfieldexcerpt?

Thanks
rajiv

Offline

#43 2008-01-07 10:58:00

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: rah_metas // plugin for automatic metainformation

strawberryfusion, nice that you informed about that. Yes that was correct. It was caused by very little typo in the plugins code that made the customfieldkeywords and customfieldexcerpt have same value. Really sorry about that.

So I fixed it, and it took very little of time as it was so minor fix ;)

Please download the new version 0.9.2.

Cheers!

Last edited by Gocom (2008-01-07 10:58:58)

Offline

#44 2008-01-14 14:24:07

strawberryfusion
Member
Registered: 2005-07-24
Posts: 20

Re: rah_metas // plugin for automatic metainformation

Hi,

Many thanks!

rajiv

Offline

#45 2008-01-14 15:30:13

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: rah_metas // plugin for automatic metainformation

No problem, strawberryfusion. I’m glad that helped :)

Cheers!

Offline

#46 2008-01-31 04:28:21

jim_01
Member
Registered: 2008-01-17
Posts: 35

Re: rah_metas // plugin for automatic metainformation

Hi,

If I try using the customfieldkeywords=“metakeywords” in a form textpattern 4.0.5 throws this error:

Textpattern Notice: Article tags cannot be used outside an article context

Is this a bug?

Offline

#47 2008-01-31 09:46:58

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: rah_metas // plugin for automatic metainformation

Turn testing or debugging off. Also that error shouldn’t be even shown as customfieldkeywords is only used inside single article. Have you created that following custom field?

Cheers!

Last edited by Gocom (2008-01-31 09:47:53)

Offline

#48 2008-01-31 20:55:48

jim_01
Member
Registered: 2008-01-17
Posts: 35

Re: rah_metas // plugin for automatic metainformation

Turning debugging off and making the site live seemed to work.

Thanks again!

Offline

Board footer

Powered by FluxBB