Can contributablelement be used to populate a META tag in the head section?

We're currently using UCM 10gR4 with SSPU.
We'd like to use a contribution element to allow contributors to add text that would populate the META tags (Keywords and Description) that reside in the HEAD section for a node.
In most cases, there is a 1-1 relationship between nodes and Content Items (placeholders).
I've already built a solution for this using Custom Section Properties, but the preference is to allow the contributor to review/update the meta values with another contributable element. Then, the text entered can be reviewed within workflow and the element is more prominent to the contributor.
The next best solution would be to use a metadata field to update the meta tags.
Any suggestions?
Thanks in Advance,
Todd M

bingo!!!!
Ryan, that was it! The measly little escape characters! Now it's working like a charm, which makes my day!
Here's the recap of the fragment, if others find it useful.
Intent: to allow contributors to enter content that would appear in the Meta tags for a particular page. This content will also go through workflow for the appropriate approval, as well as be more prominent for the contributor to actually enter the content!
Here's the fragment code. "Content" as it appears in the code is the defined placeholder name. MetaKey and MetaDesc are elements added to the Region Definitions (as plain text). The conditionals at the end of the fragment handle the case if these areas are blank.
Thanks to all for your responses!
Todd M
<!--$currentPageNodeId=#active.nodeId-->
<!--$ContentID=Content-->
<!--$metaKeyword=ssIncludeXml(ContentID, "wcm:root/wcm:element[@name='MetaKey']/text()")-->
<!--$metaDescription=ssIncludeXml(ContentID, "wcm:root/wcm:element[@name='MetaDesc']/text()")-->
<!--$if not strEquals(metaKeyword,"")-->
<meta name="KeyWords" content="<!--$metaKeyword-->" />
<!--$endif-->
<!--$if not strEquals(metaDescription,"")-->
<meta name="Description" content="<!--$metaDescription-->" />
<!--$endif-->

Similar Messages

  • I hope someone gets this who can help me. i don't find anything helpful in the help section of icloud. i'm using my 4th generation itouch for about 3 weeks with the ical. but today when i tried to edit an event or d an event a window would pop up and sa

    i hope someone gets this who can help me. i don't find anything helpful in the help section of icloud. i'm using my 4th generation itouch for about 3 weeks with the ical. but today when i tried to edit an event or add an event a window would pop up and say "event can't be saved" or "no calendar chosen" or something like "this event doesn't belong with this calendar" and stuff like that.
    can you please help me fix this?

    You could repartition your drive to have a different OS X with the older iTunes there, and the newer iTunes on the existing partition. Back up everything beforehand. See Kappy's advice in this thread. Partitioning my Hard Drive

  • Am trying to install the mas os yosemite and its giving me an error message that "The Install OS X Yosemite application can't be used from this disk". What is the problem?

    Am trying to install the mac os yosemite and its giving me an error message that "The Install OS X Yosemite application can't be used from this disk". What is the problem?

    Impossible to answer with information provided

  • Can Shuffle be used on a computer not connected to the Internet

    Can Shuffle be used on a computer not connected to the Internet. I have access to an Internet connected computer to register but I would like to manipulate and recharge on a machine that is not connected. Thanks for any help you can provide.

    As long as you aren't trying to update/restore it the Shuffle will work on a computer with no Internet access.

  • I'm have iPhone's & iPads with AT&T.  I want to change to Verizon. Can I still use my old iPhone and iPads with the new company?

    I'm have iPhone's &amp; iPads with AT&amp;T.  I want to change to Verizon. Can I still use my old iPhone and iPads with the new company?

    To change the iCloud ID you have to go to Settings>iCloud, tap Delete Account, then sign back in with the other ID.  When you delete the account it will prompt you about what to do with the iCloud data.  If you need to migrate it and merge it with the data in the new account choose Keep on My iDevice; then choose Merge to upload the data and merge it with the new account.  If your data is already in the other account and you don't need to migrate it to the other account, choose Delete from My iDevice.

  • Many of us know Outlook mails can be stored using a PST Mail app to review the old mails when needed on an iPad. I am considering a switch to Mac OS. But I am wondering if the same is possible with the mbox files.

    Many of us know Outlook mails (pst files) can be stored using a PST Mail app to review the old mails when needed on an iPad. I am considering a switch to Mac OS. But I am wondering if the same is possible. What would be the file format of the emails on a Mac OS and the app equivalent of the PST Mail app? Thanks for helping me out. Durai

    clw51 wrote:
    Thanks for your response and yes I understand what you are saying. Maybe you could explain why "email users" hate HTML email with a passion.
    These tend to be technical users who have a more purist attitude about email. They prefer that email be text-only, and consider HTML formatting to be superfluous for most messages. And I do think they have a point. If you have 100 plain-text emails and 100 HTML emails, you will notice that the HTML emails take up noticeably more disk space. And if the HTML email senders have loaded down their default emails with background images, signatures with corporate logos and winmail.dat attachments and all manner of embedded ornamentation, and (I never even thought people went this far) animations, then a simple email reply like "Thanks! I'll see you this evening," ends up carrying an tremendous additional amount of file size and network bandwidth overhead just to carry those six words. It not only means more disk space consumed, but it ripples all through the system: More space is required for backing up and archiving your emails, plus more mail server space and network bandwidth are consumed per message. Purists see this as an incredible waste of resources.
    The message body of at text email can simply be "Thanks! I'll see you this evening."
    The HTML version, at a bare minimum, must be
    {html}
    {p}"Thanks! I'll see you this evening."{/p}
    {/html}
    (replaced angle brackets with curly brackets so Apple Forums won't try and format it)
    Already that's almost double the amount of characters required to send the message, just to format it in HTML. And that's if no fonts, styles, graphics, or media have been applied. If they are, the number of actual characters sent balloons dramatically.
    I'm in the middle. I don't hate HTML email, I'll even turn it on when I think formatting will help my message. But I like to use disk space efficiently, so I've set plain text as my default for sending messages.

  • How to use two group tags in the header?

    I am using BI Publishing,RTF Template,I found when I put two group tags before <?start:body?> ,the BI Publishing only keep the 2nd group tag right before <?start:body?> as header, it moved the 1st group tag to the body section.
    Is this a bug? Can anyone give me some ideas how to make BI Publish treat all the group tags before <?start:body?> as the header/sub header?
    thanks for your help

    Hi dirk,
    Thanks it worked well.
    I have one question for you in the tabular form.
    i have totally 10 columns in my tabular form, in that 9 column is of database column and only one column is non-database column, while updating the row in the tabular form it is throwing the below error like
    Current version of data in database has changed since user initiated update process. current row version identifier = "A0FD649E5A28DF9244990A3B9368298A" application row version identifier = "44CE02A233595BCA6F7D4A140BD4DF30" (Row 1)I thought the above error is due to the existence of non-database column in my tabular form. Is there any way to solve this issue. I need to have a non-database column in my tabular form but the presence of that column is not allowing to perform update in that tabular form.
    how to get rid of this issue dirk.
    Any ideas??
    Brgds,
    Mini

  • Can I place a html5 or flash video of a surfer in the header section?

    I have been asked to build a home page with a video of a surfer riding a wave at a fun surfing location. We think it would be cool for the web user to come to the home page and right away watch a surfer catching a wave and riding accross in the video in good size area of the header section of the home page. Not sure what technology is available to best do this...html5 or flash or even java any suggestions would be helpful.
    I have been browsing the web to see other similar examples and ideas to get a feel for the best way to approach this.

    Yeah I get it. You want a video banner. It doesn't really matter where you want your video placed on your page. The point is you want a video on your page, right? I think you're over-thinking it, dude. It doesn't matter to techies if the video is of a surfer at a popular surfer location. It could be a video of a surfer doing a bellyflop in a mud puddle for all it matters. That's irreclevant to the technical discussion. Try to boil your problem down to the basics here. I'm just wondering what your problem is. Are you having a problem embedding a video or what exactly? If you're having a problem embedding a video on your page then I suggest using YouTube as a cross browser solution. You can use the embed parameters to customize your YouTube video to do things such as autoplay, loop, custom size, hide YT controls, etc. Give it a try for a simple solution.
    best,
    Shocker

  • How can I edit the head section of a page made from a template?

    Humm,  I made a page from a template but now I cannot modify the <head> section...  I will need to add some HTML to the head section that will be different for at least this one specific page...

    Be aware that you CANNOT use the DW UI to add an editable region to the head. A properly made DW template always contains two editable regions in the head of the template: "doctitle" and "head".  If you do not have those, then as Nancy says, you will need to add them.
    To add an editable region to the head of your template page, just copy this and paste it in to some legal place in the head of the page (like immediately above </head>).
    <!--TemplateBeginEditable name="whatever"-->
    <!--TemplateEndEditable-->
    Change the name as needed.

  • A radio station broadcasts on on the internet, but I can't receive it on my Mac Book Pro. The header on the page that appears says: triton digital live player-. Does anyone know what I must download to make this work?

    A radio station broadcasts on on the internet, but I can't receive it on my Mac Book Pro. The header on the blank page that appears says: "triton digital live player…." Does anyone know what I must download to make this work?

    A radio station broadcasts on on the internet, but I can't receive it on my Mac Book Pro. The header on the blank page that appears says: "triton digital live player…." Does anyone know what I must download to make this work?

  • How about adding a meta tag to the index file.....

    This is another way to get verified with Google and other search engines. Does anyone know a way that you could add a meta tag to the index file generated by iweb??
    Thanks for any help....Matt
    http://www.want2takecredit.com

    I'm glad it worked. Nevertheless you might think of uploading an html file as well. The index.html sometimes gets overwritten by iweb, thus the meta-tag would disappear and you would have to do it again. The html file instead stays where it is.
    Here's how to procede:
    When they will ask you to verify that it really is your website. “Choose verification method” select “Upload an HTML file” and now you will have to build that verification file (here’s a How-to by Roddy).
    1. Go to your applications folder and launch Text Edit.
    2. Don't put anything on the blank page.
    3. Select File/Save As.
    4. In the popup window "Save As" box enter your Google number (something like google05a23d347cXXXXXX )
    5. In the "Where" box select desktop.
    6. In "File Format" menu select HTML.
    7. Click "Save".
    8. A file will appear on your desktop called google05a23d347cXXXXXX.html
    9. This is what you upload to your server or iDisk.
    Upload that file to your main folder on your server so that it will be http://www.yoururl.com/google05a23d347cXXXXXX.html (not in the subfolder of the Sites folder named with the title of your site...*).
    For .Mac go to the Finder menu and select Go/iDisk/My iDisk/ or hit SchiftCommand(Apple)i and then go to /Web/Sites/. Drop your file into the "Sites" folder
    Entering: http://web.mac.com/username/google05a23d347cXXXXXX.html in your browser should bring up this file. If it doesn’t you placed the file in the wrong location.
    Entering: http://yourbaseurl.com/google05a23d347cXXXXXX.html in your browser should bring up this file. If it doesn’t you placed the file in the wrong location.
    Regards,
    Cédric
    +I just noticed your other posts on the forum and that you got it solved I'll leave the explanation for other people wondering and stumbling over the thread+

  • I am not able to share a blogpost image on facebook using the open graph meta-tag for the blogpost image.

    Dear Members,
    I am wrestling a few days now, and still not able to get a blogpost image into the facebook share-box.
    This is the link where i am talking about:
    Top 10 Celebrities on Holiday in Saint Tropez
    I have 2 issues:
    1
    Below ( under the blog-post ) you'll find my facebook like button.
    When i like the blog-post, the share-box pops up BUT without the blog image.
    I put the link in the debugger window from Facebook, but it tells me that the open graph tag for a image is not proper defined.
    this is the link to facebook debugger : https://developers.facebook.com/tools/debug/
    So i created this meta-tag :  <meta property="og:image" content="/_assets/images/blog/img-{tag_blogpostid}.jpg" />
    and put it inside the head of the html code for the detailed blog post lay-out ( site-manager/module-templates/Blog lay-outs/Blog post detail lay-out )
    2
    I dont know how i must specify the URL to be liked on facebook.
    My blog-list url = http://www.duvanduvan.com/blog  BUT i have to specify the url for a single blogpost item, but have no idea what to specify. i tried different url's like : duvanduvan.com/blog/{tag_itemurl} etc.... with no result
    Can you also help me out here?
    I really tried everything i possibly know off but without result :-(
    Can somebody help me out here?
    Much much appreciated.
    Stefan.

    try selecting music from the top bar check the songs you want, then sync

  • What can't I use my iPad in another house with the same internet service as mine

    Why can't I use my iPad in another location that has same internet service.   Comcast. As me

    Presumably, if that house was a wifi network, and you know the wifi networks password so you can connect, you can use it.  Does the homeowner have a secured network?  Have you asked them for the password to connect?

  • HT1386 i have noticed that the album artwork on itunes in my phone is missing when you open the "album" section of itunes installed on my phone. how can i get my album artwork to show up in the album section

    i have noticed that the album artwork on itunes installed on my phone is missing some of the album artwork when i go to the "album" section of itunes in my phone. How can i get the album artwork to show up

    first of all, no one is going to respond to this becuase limewire is used basically in your situation illegally. But let's say you import a cd, left click on the songs you imported and hit get album artwork, if nothing comes up, the album sn't in the itunes database, get it online. And I suggest never to mention limewire and music files on the same post here, since limewire is a file sharing program. Use Itunes, it's easier. theo

  • How can I transfer a book I have on CD to the Audeobooks section of my ipod

    Just like the topic says. More specifically, I have Harry Potter Book six on CD and I want to be able to listen to it on my ipod. But, I don't want it to go into the music section. How can I specify where things go on my ipod? Thanks a million.
    P.S. I just got my 30GB ipod and I don't know really well how to use it. Easy instructions would help. Thanks.

    In order to show up as an audio book, it needs to be a .AA or.M4B file type.
    .AA is an audible book format. Can't use that.
    Quit iTunes.
    Find the file and change the extension to .M4B.
    Open iTunes, click on audio books at the top of iTunes and see if it shows up.
    If not, make a copy of the renamed file, and in iTunes, delete the file from the library and the HD and quit iTunes.
    Open iTunes and add the copy to iTunes.
    It should now show up under audio books.

Maybe you are looking for