Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#31 2007-11-02 17:48:10

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 new version, 0.8. You can download it here on Uproar n Rattle

Changes in version 0.8:

  • Now parses Textile from automatic metadescription.
  • Cleaned up the code

Cheers!

Last edited by Gocom (2007-11-02 17:55:28)

Offline

#32 2007-11-02 18:08:53

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: rah_metas // plugin for automatic metainformation

Hi Gocom, thanks for the update. The remove textile thing works like a charm.

I saw that, in this new version, if there are no keywords assigned to an article, it will output the default keywords list. Am I right?


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#33 2007-11-03 00:07:12

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

Re: rah_metas // plugin for automatic metainformation

I saw that, in this new version, if there are no keywords assigned to an article, it will output the default keywords list. Am I right?

Yes, you’re right – I did that change too to the code.

Offline

#34 2007-12-01 02:26:59

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

Re: rah_metas // plugin for automatic metainformation

Does this plugin work with chh_article?
Thanks.

Offline

#35 2007-12-01 02:38:33

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

Re: rah_metas // plugin for automatic metainformation

Does this plugin work with chh_article?

Why wouldn’t it? It’s completely seperated plugin. It’s only depending are you viewing a individual article or article list – in textpattern is pased completely on the URL.

Cheers!

Offline

#36 2007-12-01 02:46:18

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

Re: rah_metas // plugin for automatic metainformation

Thanks for quick reply. I’m using <txp:chh_article> and your plugin doesn’t seem to work…I got empty code, but
maybe I’m mixing something up..I use chh tag like this:

<txp:chh_article listform=“news” form=“news” category=“notebook” limit=“1” section=“notebook” />
and it shows only 1 complete article on the page.

Thanks for helping me out!

Offline

#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

Board footer

Powered by FluxBB