Questions tagged [meta-tags]

1

votes
1

answer
1.6k

Views

How to add meta tags to Liferay page

For a Facebook share button, I deed to add some meta tags to a page in Liferay. The result of the HTML should look like the following example: ... How can I do that in Liferay WITHOUT coding but just by configuration in the admin control area? Note: For www.mydomain.com/en the content of the meta ta...
tschmid
5

votes
1

answer
32

Views

Order of picked up meta tags in the html-head

I was wondering if someone could explain how social media rich previews define which og:title to pick. I use wordpress and for certain pages I insert php echo strings to inject them into the . I choose to do that to change certain titles and descriptions into more commercial texts. What obvisouly ha...
Demian
1

votes
1

answer
2k

Views

How do I add query parameter to Facebook og:url meta tag without impacting ranking of my page?

I have a page which has open graph meta tags added to it. Now,I need to pass a query parameter to my page url, value of which will decide whether og:video meta tags has to be added to page or not. But as soon as Facebook crawler finds og:url, it ignores everything on the page and starts crawling can...
pgarg
1

votes
1

answer
237

Views

Generate dynamic meta tags for Facebook in JSF

How can I generate dynamic meta tags for facebook on server side? Depending upon the data fetched from database, I need to dynamically set the value of og:title, og:description etc. Can I use HttpServletResponse.addHeaders() to do that? If yes then how to do that?
Nikhil
1

votes
1

answer
607

Views

What does dcterms.date denote?

I was reading James Donnelly's answer to 'Is there a standardized (Meta?) Tag for the Date of a Website?'. At the end he writes: I don't believe Hangy's answer of dc.date (now dcterms.date) would be relevant here as, as far as I'm lead to believe, the date of this is the date associated with the res...
riceissa
1

votes
2

answer
2.6k

Views

How to manage “Meta title” and “Meta description” for pages in Drupal 8?

Just wanted to confirm that is there any stable version is released for 'Meta title and Description' of a node in Drupal 8? If yes then please recommend. I have a simple website of basic pages and few blogs for the same and for homepage I want to add 'Meta title' and 'Meta description'. So please su...
Ankur Singh
1

votes
1

answer
811

Views

Php how get meta tags name from url page

i try to get name from meta tags. I get meta tags like this : $test = get_meta_tags('http://viedemerde.fr'); then : echo $test['description']; ... I have the description, but without : meta name='description How can i get this ?
Ygg69
1

votes
1

answer
71

Views

Checking conditions in fe_page template for Contao

I am now working with contao fe_page template for generating meta tags. Now i need to display a meta tag based on a condition. That is if (condition a){ meta tag =a } else { meta tag = b } The condition is 'whether the news module is used in that page or not'. How can I check for dat condition in...
Ques
1

votes
1

answer
34

Views

Metatags aren't displayed when set them with angularjs

I have one problem with metatags in Angularjs. In my html file I have metatags with content property set like this {{ meta.siteName }}, and on every route I programmatically set these tags. Everything is fine, it sets these tags properly, but whem I'm trying to send link to some page via skype/slac...
Leonid Gordun
1

votes
1

answer
705

Views

JSON-LD and meta tags

I am working with my client's website and trying to figure out why, and how to use rich snippets. Something that is confusing me is how these snippets work together with the meta tags. Let's say I have the following meta tags, and this JSON-LD snippet: Beachwalk Beachwear & Giftware Cheap cloths for...
Jack
1

votes
1

answer
465

Views

PHP get_meta_tags() not working as I expected

I wanted to get meta tags (Specially og:title, og:description and og:image)... I use following code, $tags = get_meta_tags('https://www.shoutmeloud.com/review-of-hostgator-webhosting-wordpress.html/'); echo ''; print_r($tags); It returns following array, Array ( [viewport] => width=device-width, ini...
Sasa1234
0

votes
0

answer
6

Views

Open graph and meta properties not working with AngularJs App

I am developing a website using AngularJS, HTML5. I understand This problem already exist in StackOverflow and other blogs, but I need a solution which can handle through angularjs. The application hosted in IIS 8. Problem is facebook/linkedin crawler could not detect any content. my all open graph...
sebu
0

votes
0

answer
4

Views

Asp.Net Core 2.1 Using ViewComponents between Head tags for Getting Metadata Dynamicly

I want to add metadatas to layout page for SEO dynamicly from admin panel. Sample: In MVC5, I use: @Html.Action('GetMetatags', 'Home') and easily get them. But in Asp.Net Core 2.1, I try to use ViewComponents instead of partial view like this: @await Component.InvokeAsync('MetaDatasForSEO') The...
Aykarnz
1

votes
1

answer
34

Views

IE Compatibility mode go to highest possible version

I have a problem with few users in our company as they don't have updated IE on Windows 7 to the highest version which also supports IE compatibility view EDGE. What I want to ask, how it is possible to fall back to the highest version user has installed ? I am thinking of Is it possible ?
marhyno
1

votes
2

answer
74

Views

Retrieve page permalink without GET parameters

This multilingual site generates url parameter at the end : example.fr/?lang=en example.fr/?lang=fr I want to precise the hreflang in the header, so I wrote :
B4b4j1
1

votes
1

answer
235

Views

conditional viewport meta tag in index.html

I have an angular module with two sub modules in it, one for user and the other for admin. of course they share the same index.html file. in my user module I would like to have the in the tags in index.html While I want it to be removed in my admin module and just have the desktop view for phones...
sisimh
1

votes
1

answer
64

Views

`get_meta_tags` didn't read og:image

I want to read the og:image meta tag from a URL. I want to use get_meta_tags, but it doesn't return the value for this meta tag. What is the reason for this and how can I solve it? Code HTML Input Result Array ( [description] => Stack Overflow is the largest, most trusted online community for develo...
1

votes
2

answer
714

Views

Can't read Meta-Redirect URL in a DOMDocument

I'm trying to read the meta redirect of a website. The data is in a curl request (I've built a stub to test with). What's not working is the 'read a URL' thing - any PHP DOMDocument experts out there able to tell me why this code isn't working? I'm trying to get the URL out of the meta refresh tag...
Alex C
1

votes
4

answer
2k

Views

Language Format issue - Meta tag

I am using French and English in my website. I have two links like 'Française | English' and when user selects 'Française' i place the following in header and when user selects 'English' i place the following in header to show respective languages The problem is when i switch to English from fren...
balanv
1

votes
2

answer
1.1k

Views

Extract description in site with no meta tag description?

I need of a function in php that extract a description of a site url that don't have meta tag description any idea? i have tried this function but don't work : $content = file_get_contents($url); function getExcerpt($content) { $text = html_entity_decode($content); $excerpt = array(); //match all t...
grigione
1

votes
1

answer
48

Views

Is there such a thing as meta tagging graphics on a web page?

I've been doing some web work for a client and they've asked me to meta tag images on their web page with some specific data, I've not heard of meta tagging images, at least not using standard html before and a quick search reveals that there isn't a standard meta tag for this. However I did notic...
Sam Giles
1

votes
1

answer
174

Views

Inserting Metatag strings into a mysql table

I want to take meta tags from an external webpage and save it into my mysql db, although I keep getting an error. Some help would be appreciated. $tags = get_meta_tags($_POST['url']); if (array_key_exists('description', $tags)){ $desc = mysql_real_escape_string($tags['description']); } $postQ = mysq...
Daniel
1

votes
1

answer
261

Views

How to support internationalization & SEO

I have looked over a few similar questions here at stackoverflow and I can't seem to locate a clear cut answer. I know how to internationalize my page content, but how do I notify crawlers for SEO? Specifically, lets say I have a pages that describes content in Norwegian and english. Must I use mul...
thejartender
1

votes
2

answer
1.2k

Views

Suggestions for a good method to handle META keywords and description in a rails app?

Are there recommendations for a gem to handle the meta keywords and meta descriptions in a rails app? I already have friendly_id in place after much trouble but would like to have a good way to add meta tags and descriptions without having to hardcode those in my code. Anyone have experience with a...
Rubytastic
1

votes
2

answer
2.6k

Views

CSS website issues on iPad

Very strange thing happening on iPad2 safari browser. The following page (homepage) is cutting off the far right top nav link. It should say 'Request a quote', but cuts off at 'Requ'. Plus, the page is not auto resizing to fit the iPad screen properly as normal. Site URL: www.skiplan.co.uk I have tr...
user991830
1

votes
1

answer
1.4k

Views

How can I make my font size look good on various devices? Different viewport for iPad and iPhone in UIWebView

I have a page with a lot of text and a couple pictures (like a news article) that I want to display in a way that looks good for both a tablet-sized device and a phone-sized device. What I do right now is make Scale to Fit = YES and have my html have the meta tag but the font size is really too smal...
Gibson
1

votes
1

answer
1k

Views

Location Meta-Data for open Graph object

My site contains profile pages for companies. I have recently converted the open graph metadata from a 'website' default object to a custom object called 'company' When I add 'location' as a property of this object the suggested code looks like:
Sherms
1

votes
2

answer
125

Views

Issue with redirects and PHP variables

So I have the following code: echo ''; I'm redirecting a user to the location of $file (which has been created before). Unfortunately, the script is redirecting to http://home/[redacted]/public_html/[redacted]/output/ytusgh when, in fact, I want it to be redirected to http://[redacted].co.uk/output...
Jack G
1

votes
1

answer
1.2k

Views

Content-disposition or others in http-equiv?

Are the list of headers supported by the http-equiv meta tags a limited subset, or does it accept literally anything that you could have as an http header? Specifically, could I use content-disposition?
haxxerz
1

votes
1

answer
546

Views

Disable page resize HTML

I am trying to figure out how to disable the zoom function on a browser where the user can use the keyboard to enlarge text/images. The 'Command +' and 'Command -' function on the keyboard. How can I disable this function? I have seen it done with annualreport.elevationchurch.org
Jonathan Safa
1

votes
5

answer
2.5k

Views

get an array of meta tags php

How can I get all of the values from the named 'tag' and echo them on the page? this is the HTML im using: PHP that im using: $tags = array (get_meta_tags ( 'http://s0ulp1xel.x10.mx/background-garage/?p=photo&photo=1')); echo $tags; The result is that it only echos the last named 'tag'.
atomikpanda
1

votes
1

answer
264

Views

Get document title

I have a script which allows to retrieve meta content from any website: JsFiddle I would like to retrieve the document title instead so I tried: $.each($foop.find('head[title]'), function(idx, item) { lnk = $(item).attr('title'); $('' + lnk + '').appendTo($('#meta')); }); And: $.each($foop.find('doc...
Youss
1

votes
2

answer
1k

Views

Mobile Redirection: Meta or Javascript?

What type of client-side redirection on mobile devices is the most reliable? This is more of a fundamental question. Lets only assume that we need to deal with iOS and Android devices at the moment (no BB or Windows) and the webpage that has the redirect is only a pass-through page (meaning that it...
ccagle8
1

votes
2

answer
4.4k

Views

Smart app banner

I'm trying to implement a smart app banner on my company website but it seems that they are not customizable. First, the banner shows always on top of the page. Then, I can't set how much time will it be visible after page load. And the thing that really bothers me is the position. Is it possible to...
jncunha
1

votes
2

answer
3.7k

Views

what IS the og:url metatag?

I am building an iOS app that is supposed to use openGraph objects for users. As I see it, I need to : 1. create object pages for each of these objects that contains all the metatags that facebook is generating for your created objects in Get Code. 2. Use the iOS app to generate opengraph reques...
Ted
1

votes
3

answer
1.4k

Views

Access Meta Data from android WebView

How to access Meta Data of a HTML page loaded into a WebView in Android? I search for hours stackoverflow.com and google and I coudn't find any answer. I only could get url and title by this code: webView.getTitle(); webView.getUrl(); Dose is it imposible and webview not support it?
partiz
1

votes
1

answer
474

Views

Thymeleaf functionality on Meta tag

I'm not sure if this could be a known scenario. But I'm confused since I couldn't find any discussions on this. Raising my clarification. Does thymeleaf based html page allow meta tags within its head? I've this code: Data Services Platform Support ... which displays the page I'm looking for. But wh...
Mike
0

votes
0

answer
16

Views

Is it a good idea to change metatag keywords in html using jquery

I want to change the metatag keywords in html head in order to match every page content dynamically. but changing if with jquery, when the page has been already loaded sounds to me senseless. Will the search site recognize the change? Or will it keep the old keywords meta tag? What is the correct...
bog
0

votes
0

answer
3

Views

Meta tags not being acknowledged on Apex domain

I have added the required meta tags for sharing rich content to social networks, to my site (https://matterbase.io). The meta tags can be tested on IFramely When I share the url with a www subdomain, both the Twitter Card Validator and LinkedIn Post Inspector works. They are detecting the right meta...
Herm
1

votes
1

answer
205

Views

How to dynamically set an Angular JS page's Title?

I have a running single-page AngularJS Web Application. To manage my routes, I'm using ui.router. Here is the state for my Splash Screen: $stateProvider.state('splash', { url: '/', templateUrl: 'html/splash.html', controller: 'SplashCtrl', data: { meta: { 'title': 'Splash Screen' } } } ); Did you no...
Saqib Ali

View additional questions