Blogger Question : How to display Post URL in Text Field

Discussion in 'Blogging' started by Zack!, Nov 2, 2009.

  1. #1
    Can anyone tell how to display the post URL of a blogspot blog in a Text area on the same blog ?
    -
    For example ;
    The original url is http://example.blogspot.com/2009/10/this-is-an-example.html (this is only for demo,no site exists )
    Post title - This is an example
    -
    I want to create to create a text box & display this URL in this format
    <a href="http://example.blogspot.com/2009/10/this-is-an-example.html" >This is an Example</a>
    Code (markup):
    inside that text box,so people can copy the link & post it on their blog
    -
    If anyone knows the format to display ,pls share it here.
     
    Zack!, Nov 2, 2009 IP
  2. dmssrinivas

    dmssrinivas Well-Known Member

    Messages:
    257
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    108
    #2
    <textarea readonly='readonly'>&lt;a href=<data:post.url/>&gt;<data:post.title/>&lt;/a&gt;</textarea>
    Code (markup):
    Paste this code as it is in the blogger template where you want to put this text box. Also, adjust the height and width of the text by using those attributes.

    I guess this is what you asked for.
     
    dmssrinivas, Nov 4, 2009 IP