Forum moderator: bigblog |
uCoz Community For Webmasters Design Customization Help With META |
Help With META |
Hello everyone.
I want to set up a META correctly. I would like you to adjust as much as possible to each page of the website. Could you help me? Need help with "XXX". <meta property="og:title" content="XXX" /> (Auto-customized for each page with the same name as the page title) <meta property="og:description" content="XXX" /> (Auto-customized for each page with the txt of message or post...) <meta property="og:image" content="XXX" /> (I would like facebook or other social networks to detect the images on each page. Thus, I could publish news with different images. All pages have different images.) <meta property="og:url" content="XXX" /> (What should I put here?) <meta property="og:site_name" content="XXX" /> (What should I put here?) What other META would have to add to improve what was published? Thanks i hope ur answers Added (2017-03-13, 5:27 PM) |
try this...coz i use to my site
Code <link rel="canonical" href="<?if($REQUEST_URI$)?>$HOME_PAGE_LINK$$REQUEST_URI$<?else?>$HOME_PAGE_LINK$<?endif?>" /> <meta property="og:locale" content="en_US" /> <meta property="og:type" content="article" /> <meta property="og:title" content="<?if($ENTRY_TITLE$)?>$ENTRY_TITLE$<?else?>$SITE_NAME$<?endif?> $SITE_NAME$" /> <meta property="og:description" content="<?if($BRIEF$)?>$BRIEF$<?else?>$ENTRY_TITLE$ $SITE_NAME$<?endif?> $SITE_NAME$" /> <meta property="og:url" content="<?if($REQUEST_URI$)?>$HOME_PAGE_LINK$$REQUEST_URI$<?else?>$HOME_PAGE_LINK$<?endif?>" /> <meta property="og:site_name" content="$HOME_PAGE_LINK$" /> <meta property="article:section" content="Blog" /> <meta property="og:image" content="<?if($IMG_URL1$)?>$HOME_PAGE_LINK$$IMG_URL1$<?else?>$HOME_PAGE_LINK$$IMG_URL2$<?endif?>" /> <meta property="og:image:width" content="1000" /> <meta property="og:image:height" content="1441" /> <meta name="twitter:card" content="summary" /> <meta name="twitter:description" content="<?if($BRIEF$)?>$BRIEF$<?else?>$ENTRY_TITLE$ $SITE_NAME$<?endif?> $SITE_NAME$" /> <meta name="twitter:title" content="<?if($ENTRY_TITLE$)?>$ENTRY_TITLE$<?else?>$SITE_NAME$<?endif?>" /> <meta name="twitter:image" content="<?if($IMG_URL1$)?>$HOME_PAGE_LINK$$IMG_URL1$<?else?>$HOME_PAGE_LINK$$IMG_URL2$<?endif?>" /> Post edited by fadly - Tuesday, 2017-03-14, 4:03 AM
|
wow, thanks! are u using this for all pages? (load, videos, all pages...?)
But.. Why are you using "$HOME_PAGE_LINK$" or "$REQUEST_URI$" for "load" archives? sorry but if you can explain a bit or with images or something will b perfect! im noob with this |
When I post in Twitter appears a "box" with "grey icon". This "grey icon" should be the real image of post. Why it happens?
The Twitter code that I use is: Code <!-- Twitter Card --> <meta name="twitter:card" value="summary"> <meta name="twitter:site" content="@SITE"> <meta name="twitter:title" content="$ENTRY_TITLE$"> <meta name="twitter:description" content="PERSONALTEXT" > <meta name="twitter:creator" content="@CREATOR"> <meta name="twitter:image" content="$IMAGE$"> And when i post on facebook something is wrong because facebook post with old META. How to update it? Thanks Attachments:
3194370.png
(268.0 Kb)
|
try this
Code <!-- Twitter Card --> <meta name="twitter:card" value="summary"> <meta name="twitter:site" content="@SITE"> <meta name="twitter:title" content="$ENTRY_TITLE$"> <meta name="twitter:description" content="PERSONALTEXT" > <meta name="twitter:creator" content="@CREATOR"> <meta name="twitter:image" content="<?if($IMG_URL1$)?>$HOME_PAGE_LINK$$IMG_URL1$<?else?>$HOME_PAGE_LINK$noimage.jpeg<?endif?>"> you can check on my site http://indoxxi.info/load/2017/t2_trainspotting_2017/2-1-0-103 Code <link rel="canonical" href="http://indoxxi.info//load/2017/t2_trainspotting_2017/2-1-0-103" /> <meta property="og:locale" content="en_US" /> <meta property="og:type" content="article" /> <meta property="og:title" content="Nonton Film T2 Trainspotting (2017) Nonton Movie Film Online Bioskop 21 " /> <meta property="og:description" content="nonton film T2 Trainspotting (2017), nonton film T2 Trainspotting (2017) terbaru, nonton movie T2 Trainspotting (2017), film T2 Trainspotting (2017), film bioskop21 T2 Trainspotting (2017), download film T2 Trainspotting (2017), nonton T2 Trainspotting (2017) full movie, jadwal film T2 Trainspotting (2017), film bioskop201 T2 Trainspotting (2017) terbaru, subtitel film T2 Trainspotting (2017), sub T2 Trainspotting (2017) indo, trailer film T2 Trainspotting (2017), sinopsis film T2 Trainspotting (2017), download full movie T2 Trainspotting (2017), streaming film T2 Trainspotting (2017), watch movie T2 Trainspotting (2017) online, watch free movie T2 Trainspotting (2017) " /> <meta property="og:url" content="http://indoxxi.info//load/2017/t2_trainspotting_2017/2-1-0-103" /> <meta property="og:site_name" content="http://indoxxi.info/" /> <meta property="article:section" content="Blog" /> <meta property="og:image" content="http://indoxxi.info//_ld/1/38204874.jpg" /> <meta property="og:image:width" content="1000" /> <meta property="og:image:height" content="1441" /> <meta name="twitter:card" content="summary" /> <meta name="twitter:description" content="nonton film T2 Trainspotting (2017), nonton film T2 Trainspotting (2017) terbaru, nonton movie T2 Trainspotting (2017), film T2 Trainspotting (2017), film bioskop21 T2 Trainspotting (2017), download film T2 Trainspotting (2017), nonton T2 Trainspotting (2017) full movie, jadwal film T2 Trainspotting (2017), film bioskop201 T2 Trainspotting (2017) terbaru, subtitel film T2 Trainspotting (2017), sub T2 Trainspotting (2017) indo, trailer film T2 Trainspotting (2017), sinopsis film T2 Trainspotting (2017), download full movie T2 Trainspotting (2017), streaming film T2 Trainspotting (2017), watch movie T2 Trainspotting (2017) online, watch free movie T2 Trainspotting (2017) >" /> <meta name="twitter:title" content="Nonton Film T2 Trainspotting (2017) Online Nonton Movie Film Online Bioskop 21 " /> <meta name="twitter:image" content="http://indoxxi.info//_ld/1/38204874.jpg" /> Post edited by fadly - Thursday, 2017-03-16, 6:22 PM
|
whats not working? facebook or twitter?? give me the link, il check u link
|
I think this tool can help. https://developers.facebook.com/tools/debug/sharing/?q= Paste your web URL that you need Facebook to reload. |
Someone can help me with "ERRORS" THANKS!!!!!!!!!
Code <meta name="title" content="Archivos $MODULE_NAME$" /> <meta name="description" content="$MODULE_NAME$" /> <meta name="keywords" content="keywords" /> Ok. Code <!-- Open Graph --> <meta property="og:title" content="$MODULE_NAME$" /> <meta property="og:locale" content="es_ES"> <meta property="og:type" content="article" /> <meta property="og:url" content="http://www.name.com$MODULE_URL$" /> <meta property="og:image" content="$IMAGE$" /> <meta property="og:description" content="$MODULE_NAME$" /> <meta property="og:site_name" content="$SITE_NAME$" /> Facebook: Error: Image. Facebook doesn't show images that there are at post. I want that facebook recognize images and select one random or b default (attatched at this post). Ok: Title and description are ok. Code <!-- Twitter Card --> <meta name="twitter:card" value="summary"> <meta name="twitter:site" content="@name"> <meta name="twitter:title" content="$MODULE_NAME$"> <meta name="twitter:description" content="$MODULE_NAME$" > <meta name="twitter:creator" content="@name"> <meta name="twitter:image" content="$IMAGE$"> Twitter and LinkedIn: Error: Image (same as Facebook). Title is too long, do not know why is showed all category name, site name and module name if i wrote only "module_name". I want only display the title from post. Ok: Description is ok. Code <!-- Schema.org Google+ --> <meta itemprop="name" content="$MODULE_NAME$" /> <meta itemprop="description" content="$MODULE_NAME$" /> <meta itemprop="image" content="$IMAGE$" /> <link rel="author" href="https://plus.google.com" /> <link rel="publisher" href="https://plus.google.com" /> Google: Ok: Title, Description and img (google autodetects all) Post edited by IMB4 - Sunday, 2017-05-28, 5:33 PM
|
IMB4,
<meta property="og:image" content="$IMAGE$" /> There is no $IMAGE$ code. And this code $IMG_URL1$ is only available in Page with full text and comment template and when you attach the photo into entry. If your entry has no attached photo, this code $IMG_URL1$ wont work. Here is my code. Code <meta property="og:image" content="http://sachtienganh.ucoz.com$IMG_URL1$" /> Here is an entry with attached photo. http://sachtienganh.ucoz.com/load/28-1-0-322 Here is screenshot from facebook. Attachments:
3148912.jpg
(36.8 Kb)
Post edited by ashopbg - Tuesday, 2017-05-30, 6:15 AM
|
| |||