Ventrian Product Forums

We've moved our Product Forums!
To better assist our customers, we've moved to an integrated knowledge base and ticketing system. You can access the new forums at http://support.ventrian.com.
Subject: Meta tags
Prev Next
You are not authorized to post a reply.

Author Messages
Alex ShirleyUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:337


1/25/2012 5:16 PM  

Hello

Using: 0.7.94

Under View.PageHeader.Html I put:

meta property="og:image" content="http://www.mysite.com[IMAGELINK]"
enclosed within tags.


... doesn't seem to turn up in the rendered html on a new article.

Any ideas? (trying to get facebook to scrape the correct image).

Thanks...

Alex


Alex Shirley

Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:21233


1/25/2012 5:31 PM  
Are you saying none of the html displayed in the html? Or are you saying that [IMAGELINK] didn't work?

Scott McCulloch
Site Administrator
Alex ShirleyUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:337


1/25/2012 5:48 PM  
Nothing at all - nada :)
Does not matter if there is a token in there or not.

Cheers Scott.

Alex Shirley

ron dyarUser is Offline
Gold Membership
Ventrian Wiz
Ventrian Wiz
Posts:171

1/25/2012 6:01 PM  

did you enclose it? < blah blahblah />

Don't forget to use the FB linter/debugger to check your work:

http://developers.facebook.com/tools/debug

--- ooops - is see you say it was enclosed.

ron dyarUser is Offline
Gold Membership
Ventrian Wiz
Ventrian Wiz
Posts:171

1/25/2012 6:03 PM  

which version of dnn?

Alex ShirleyUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:337


1/25/2012 6:06 PM  

5.6.3 right now.
Scotts module is simply not parsing anything under View.PageHeader.Html on first appearance, so there is nothing for facebook to check.



Alex Shirley

Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:21233


1/25/2012 7:39 PM  
Hi Alex,

I tested it in DNN 6.1.1 and was able to put in some text and make it appear in the head section.

I then used your example and it worked (including the token).

So I'm now wondering if it's a cache issue - can you go to host -> host settings -> restart application

This will rule out a cache issue

Scott McCulloch
Site Administrator
Alex ShirleyUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:337


1/25/2012 7:48 PM  
Bingo.

Thanks Scott.

Please consider my ass truely whipped :).

Alex Shirley

You are not authorized to post a reply.
Forums > Modules > News Articles > Meta tags



ActiveForums 3.7
We've moved our Product Forums!
To better assist our customers, we've moved to an integrated knowledge base and ticketing system. You can access the new forums at http://support.ventrian.com.