× Here you can get community support related to Tag Meta.

Makro Tip for getting description

  • teubernet
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 9 months ago - 8 years 9 months ago #4699 by teubernet
Makro Tip for getting description was created by teubernet
Hello Luigi,

I use {autosentence 50,200} to get the meta description, but it takes all the text until the first dot I think. Please check 3.x.bikeinside.de/shop-innenraum-fahrradtraeger/komplettset.html

What I want to hav eis a makro which puts me the first paragraph into the description. I played around with {extractp N}{autosentence 50,200}{/extractp} also with a={autosentence 50,200} and {extractp N}a{/extractp}but it does not work.

Can you give me a tip?

Best regards
Last edit: 8 years 9 months ago by teubernet.

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago #4702 by admin
Replied by admin on topic Makro Tip for getting description
Hi,
you are right, {autosentence50,200} takes mix 50 chars and max 200 chars and stops at the first dot found after the first 50 chars. The macro extractp, instead, works with html so cannot be combined with autosentence.

To extract the first paragraph we should add another macro.

Kind regards,
Luigi

Please Log in or Create an account to join the conversation.

  • teubernet
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 9 months ago #4705 by teubernet
Replied by teubernet on topic Makro Tip for getting description
So I can not do anything in the moment?

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago #4707 by admin
Replied by admin on topic Makro Tip for getting description
Unfortunately no,
with existing macros you cannot get exacty what you need (i.e. the whole first paragraph).

But I will add the macro in the next version.

Please Log in or Create an account to join the conversation.

Time to create page: 0.161 seconds