• Page 1 of 2
  • 1
  • 2
  • »
Forum moderator: bigblog  
uCoz Community » For Webmasters » Design Customization » Help With META
Help With META
IMB4
Posts: 54
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: 73
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: 54
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: 639
Reputation: 7

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
IMB4
Posts: 54
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 (268.0 Kb)
fadly
Posts: 73
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: 54
Reputation: 0

Message # 7 | 8:43 PM
thanks fadly but still not work sad
fadly
Posts: 73
Reputation: 0

Message # 8 | 1:06 AM
whats not working? facebook or twitter?? give me the link, il check u link
Cyberdasm
Posts: 639
Reputation: 7

Message # 9 | 3:05 AM
Quote IMB4 ()
thanks fadly but still not work


The code of fadly works perfectly in my case.

1F4BF3B
Good
Posts: 360
Reputation: 12

Message # 10 | 10:53 AM
Quote IMB4 ()
thanks fadly but still not work


I think this tool can help.

https://developers.facebook.com/tools/debug/sharing/?q=

Paste your web URL that you need Facebook to reload.
IMB4
Posts: 54
Reputation: 0

Message # 11 | 5:33 PM
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
Good
Posts: 360
Reputation: 12

Message # 12 | 4:05 AM
Code
<meta property="og:image" content="$IMAGE$" />
<meta name="twitter:image" content="$IMAGE$">


I am not sure but please try to change $IMAGE$ to $IMG_URL1$. Hope it works.
Post edited by Good - Monday, 2017-05-29, 4:06 AM
IMB4
Posts: 54
Reputation: 0

Message # 13 | 5:55 PM
Doesnt works sad
ashopbg
Posts: 23
Reputation: 0

Message # 14 | 6:13 AM
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
IMB4
Posts: 54
Reputation: 0

Message # 15 | 7:53 PM
Quote ashopbg ()
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 the key. Thanks.
Post edited by IMB4 - Tuesday, 2017-05-30, 7:59 PM
uCoz Community » For Webmasters » Design Customization » Help With META
  • Page 1 of 2
  • 1
  • 2
  • »
Search: