![]() |
|
quotes in meta description - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: quotes in meta description (/thread-9636.html) |
quotes in meta description - Mark R - 2012-02-14 When the meta description gets built from calling apply_filter("theme_head") quotes are not stripped out of the string. I tried this both with the theme I am using as well as the zenpage theme with the same results. I a using Zenphoto version 1.4.2.1 [9180] One the documentation page it says "before the " instead of after. Thanks quotes in meta description - acrylian - 2012-02-14 Do you use the html_meta_tags plugin? quotes in meta description - Mark R - 2012-02-14 :facepalm: quotes in meta description - acrylian - 2012-02-14 I did take a look at it uses always strings with strip_tags only. There is no encoding indeed which probably should be there for the meta description. quotes in meta description - sbillard - 2012-02-14 Thanks for the note on the documentation. That should be fixed now. (But give the cache a chance to refresh.) quotes in meta description - Mark R - 2012-02-15 You're welcome. I appreciate the feedback when I have an issue. If you made changes to the plugin though I'd be glad to test it. quotes in meta description - acrylian - 2012-02-15 I have not yet made any changes to the plugin. It does not support Facebook or else specific meta tags at all, btw. quotes in meta description - Mark R - 2012-02-15 Not directly but in a way it does indirectly. When Facebook scrapes the page it creates the og:description tag from the meta description. So cleaning up the way the description tag is built allows for better text to be attached to the like share. I create the other tags myself but for some reason I can't create og:description without an error. Because I this I took efforts to get a good clean description tag built from the text of the article without all the excess that was shortening the tag. quotes in meta description - acrylian - 2012-02-15 Ah, ok, I am not using FB so I though the open graph one must be there so that works. |