Page 1 of 11
Forum moderator: bigblog 
uCoz Community » For Webmasters » Design Customization » Help With META
Help With META
IMB4
Posts: 21
Reputation: 0
Message # 1 | 5:27 PM
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 smile

Added (2017-03-13, 5:27 PM)
---------------------------------------------
I read about codes like $image$ but I do not know how to use it... or what kind of codes are avaliable to use.

fadly
Posts: 45
Reputation: 0
Message # 2 | 4:02 AM
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
IMB4
Posts: 21
Reputation: 0
Message # 3 | 3:26 PM
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 sad
Cyberdasm
Posts: 566
Reputation: 2
Message # 4 | 0:42 AM
IMB4, in meta you could use brief with conditional operator that limit the char to 60. and for keyword you could use the user site function for that..
1F4BF3B

admin@lizeal.tk
www.lizeal.tk
IMB4
Posts: 21
Reputation: 0
Message # 5 | 5:50 PM
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 smile
Attachments: 3194370.png(268Kb)
fadly
Posts: 45
Reputation: 0
Message # 6 | 6:19 PM
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" />


biggrin

Post edited by fadly - Thursday, 2017-03-16, 6:22 PM
IMB4
Posts: 21
Reputation: 0
Message # 7 | 8:43 PM
thanks fadly but still not work sad
fadly
Posts: 45
Reputation: 0
Message # 8 | 1:06 AM
whats not working? facebook or twitter?? give me the link, il check u link
Cyberdasm
Posts: 566
Reputation: 2
Message # 9 | 3:05 AM
Quote IMB4 ()
thanks fadly but still not work


The code of fadly works perfectly in my case.

1F4BF3B

admin@lizeal.tk
www.lizeal.tk
uCoz Community » For Webmasters » Design Customization » Help With META
Page 1 of 11
Search: