Makro Tip for getting description
-
teubernet
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 6
-
Thank you received: 0
-
-
9 years 1 month ago - 9 years 1 month ago #4699
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: 9 years 1 month ago by teubernet.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
9 years 1 month ago #4702
by admin
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
-
Less
More
-
Posts: 6
-
Thank you received: 0
-
-
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
9 years 1 month ago #4707
by admin
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.167 seconds