browserui/browser/SrcData/feeds_view_template.html
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 12 Mar 2010 15:43:05 +0200
branchRCL_3
changeset 45 dbd79466b1ed
parent 0 84ad3b177aa3
child 62 5a044f6358c2
permissions -rw-r--r--
Revision: 201006 Kit: 201008

<?xml version="1.0" encoding="UTF-8" ?>
<html>
<head>
    <base href="file:///c:/" />
    
    <style>
        body {font-family:serif; font-size:10pt; line-height:11pt;}
        .header {}
        .nav {font-size:13pt; font-weight:700; line-height:13pt; margin-top:1pt; margin-bottom:1pt;}
        .title {font-size:14pt; font-weight:700; line-height:14pt; margin-top:1pt; margin-bottom:1pt;}
        .weburl {font-size:14pt; font-weight:700; line-height:14pt; margin-top:1pt; margin-bottom:1pt;}
        .date {font-size:8pt; font-weight:700; line-height:8pt; margin-top:1pt; margin-bottom:1pt;}
        .description {font-size:12pt; line-height:12pt; margin-top:1pt; margin-bottom:1pt;}
    </style>

<title>#Title#</title>
</head>

<body>
<table width="100%">
    <tr><td class="header"><div class="title"><a class="weburl" href="#WebUrl#">#Title#</a></div><div class="date">#Date#</div></td></tr>
    <tr><td class="description">#Description#</td></tr>
    <tr><td class="description">#Enclosure#</td></tr>
</table>
</body>

<script language="JavaScript" type="text/javascript">
    // Add the "feeds" schema to all anchors.  This allows the FeedsView to correctly dispatch
    // them to the client application.
    var anchorTags = document.getElementsByTagName("a");

    for (var i = 0; i < anchorTags.length ; i++)
    {
        anchorTags[i].href = "feeds:" + anchorTags[i].href;
    }

    // If need be hide the show full story link.
    var webUrl = "#WebUrl#";
    if (webUrl.length == 0)
    {
        var e = document.getElementById("showFullStory");
        e.style.display = "none";
    }        
</script>
</html>