WordPress.com



Cannot import this Web Part.

Cannot import this Web Part.

True

/SiteCollectionImages/Posts.png

Modeless

True

Blog Posts

<%@ Register TagPrefix="sharepoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %><%@ Register TagPrefix="webpartpages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %><sharepoint:SPDataSource runat="server" DataSourceMode="List" SelectCommand="&lt;View&gt;&lt;Query&gt;&lt;OrderBy&gt;&lt;FieldRef Name=&quot;PublishedDate&quot; Ascending=&quot;FALSE&quot;/&gt;&lt;/OrderBy&gt;&lt;/Query&gt;&lt;/View&gt;" UpdateCommand="" InsertCommand="" DeleteCommand="" UseInternalName="True" ID="Posts1"><SelectParameters>

<webpartpages:DataFormParameter ParameterKey="ListID" PropertyName="ParameterValues" DefaultValue="43EBBD67-B3EB-4D9F-89C7-B84520A40991" Name="ListID"></webpartpages:DataFormParameter>

<webpartpages:DataFormParameter ParameterKey="WebURL" PropertyName="ParameterValues" DefaultValue="/blog/" Name="WebURL"></webpartpages:DataFormParameter>

<asp:Parameter DefaultValue="0" Name="StartRowIndex"></asp:Parameter>

<asp:Parameter DefaultValue="0" Name="nextpagedata"></asp:Parameter>

<asp:Parameter DefaultValue="3" Name="MaximumRows"></asp:Parameter>

</SelectParameters>

<UpdateParameters>

<webpartpages:DataFormParameter ParameterKey="ListID" PropertyName="ParameterValues" DefaultValue="43EBBD67-B3EB-4D9F-89C7-B84520A40991" Name="ListID"></webpartpages:DataFormParameter>

<webpartpages:DataFormParameter ParameterKey="WebURL" PropertyName="ParameterValues" DefaultValue="/blog/" Name="WebURL"></webpartpages:DataFormParameter>

</UpdateParameters>

<InsertParameters>

<webpartpages:DataFormParameter ParameterKey="ListID" PropertyName="ParameterValues" DefaultValue="43EBBD67-B3EB-4D9F-89C7-B84520A40991" Name="ListID"></webpartpages:DataFormParameter>

<webpartpages:DataFormParameter ParameterKey="WebURL" PropertyName="ParameterValues" DefaultValue="/blog/" Name="WebURL"></webpartpages:DataFormParameter>

</InsertParameters>

<DeleteParameters>

<webpartpages:DataFormParameter ParameterKey="ListID" PropertyName="ParameterValues" DefaultValue="43EBBD67-B3EB-4D9F-89C7-B84520A40991" Name="ListID"></webpartpages:DataFormParameter>

<webpartpages:DataFormParameter ParameterKey="WebURL" PropertyName="ParameterValues" DefaultValue="/blog/" Name="WebURL"></webpartpages:DataFormParameter>

</DeleteParameters>

</sharepoint:SPDataSource>

True

<ParameterBinding Name="ListID" Location="None" DefaultValue="43EBBD67-B3EB-4D9F-89C7-B84520A40991"/>

<ParameterBinding Name="WebURL" Location="None" DefaultValue="/blog/"/>

<ParameterBinding Name="dvt_apos" Location="Postback;Connection"/>

<ParameterBinding Name="UserID" Location="CAMLVariable" DefaultValue="CurrentUserName"/>

<ParameterBinding Name="Today" Location="CAMLVariable" DefaultValue="CurrentDate"/>

<ParameterBinding Name="dvt_startposition" Location="Postback" DefaultValue=""/>

<ParameterBinding Name="dvt_firstrow" Location="Postback;Connection"/>

<ParameterBinding Name="dvt_nextpagedata" Location="Postback;Connection"/>

<ParameterBinding Name="dvt_sortdir" Location="Postback;Connection"/>

<ParameterBinding Name="dvt_sortfield" Location="Postback;Connection"/>

<ParameterBinding Name="dvt_sorttype" Location="Postback;Connection"/>

3

0

<xsl:stylesheet version="1.0" exclude-result-prefixes="rs z o s ddwrt dt msxsl" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:xsl="" xmlns:SharePoint="Microsoft.SharePoint.WebControls" xmlns:__designer="" xmlns:asp="" xmlns:ddwrt="" xmlns:o="urn:schemas-microsoft-com:office" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:ddwrt2="urn:frontpage:internal"><xsl:output method="html" indent="no" /><xsl:decimal-format NaN="" />

<xsl:param name="PageUrl" />

<xsl:param name="PagePath" />

<xsl:param name="HttpHost" />

<xsl:param name="HttpPath" />

<xsl:param name="List" />

<xsl:param name="URL_Display" />

<xsl:param name="HttpVDir" />

<xsl:param name="View" />

<xsl:param name="FilterLink" select="ddwrt:FilterLink()" />

<xsl:param name="Language">1033</xsl:param>

<xsl:param name="dvt_sortfield"></xsl:param>

<xsl:param name="dvt_sortdir">ascending</xsl:param>

<xsl:param name="dvt_firstrow">1</xsl:param>

<xsl:param name="dvt_p2plinkfields"></xsl:param>

<xsl:param name="dvt_nextpagedata"></xsl:param>

<xsl:param name="dvt_sorttype">text</xsl:param>

<xsl:param name="dvt_apos">&apos;</xsl:param>

<xsl:param name="filterParam" ddwrt:NoCAMLVariable="1"></xsl:param>

<xsl:param name="ImagesPath"></xsl:param>

<xsl:param name="ListUrlDir"></xsl:param>

<xsl:param name="EMail">EMail</xsl:param>

<xsl:param name="Userid"></xsl:param>

<xsl:variable name="dvt_1_automode">0</xsl:variable>

<xsl:param name="URL_Edit" />

<xsl:param name="URL_Lookup" />

<xsl:template match="/" xmlns:SharePoint="Microsoft.SharePoint.WebControls" xmlns:__designer="" xmlns:asp="">

<xsl:call-template name="dvt_1" />

</xsl:template>

<xsl:template name="dvt_1">

<xsl:variable name="dvt_StyleName">Table</xsl:variable>

<xsl:variable name="Rows" select="/dsQueryResponse/Rows/Row" />

<xsl:variable name="dvt_RowCount" select="count($Rows)" />

<xsl:variable name="RowLimit">3</xsl:variable>

<xsl:variable name="FirstRow" select="$dvt_firstrow" />

<xsl:variable name="LastRow" select="$FirstRow + $dvt_RowCount - 1" />

<xsl:variable name="IsEmpty" select="$dvt_RowCount = 0 or $RowLimit = 0" />

<xsl:variable name="dvt_IsEmpty" select="$dvt_RowCount = 0" />

<xsl:value-of select="ddwrt:SetVar('FreeForm', 'TRUE')" />

<xsl:choose>

<xsl:when test="$dvt_IsEmpty"><div class="ms-PostWrapper">There are no posts in this category.</div></xsl:when>

<xsl:otherwise>

<xsl:call-template name="dvt_1.body">

<xsl:with-param name="ParentPath" />

<xsl:with-param name="Rows" select="$Rows" />

<xsl:with-param name="FirstRow" select="1" />

<xsl:with-param name="LastRow" select="$dvt_RowCount" />

</xsl:call-template>

<xsl:choose>

<xsl:when test="ddwrt:ListProperty('EnableSyndication')='1'"><div class="ms-blogrss" id="BlogRSSMain"><a href="{$HttpVDir}/_layouts/listfeed.aspx?List={$List}"><img src="/_layouts/images/rss.gif" alt="" align="absmiddle" /> RSS Feed</a></div>

<xsl:text disable-output-escaping="yes">

&lt;script&gt;

var divBlogRSSNav = document.getElementById(&quot;BlogRSSNav&quot;);

var divBlogRSSMain = document.getElementById(&quot;BlogRSSMain&quot;);

if (divBlogRSSNav != null &amp;&amp; divBlogRSSMain != null)

{

divBlogRSSNav.innerHTML = divBlogRSSMain.innerHTML;

divBlogRSSNav.className = &quot;ms-blogrssnav&quot;;

divBlogRSSMain.removeNode(true);

}

&lt;/script&gt;

</xsl:text>

</xsl:when>

</xsl:choose>

</xsl:otherwise>

</xsl:choose>

<xsl:call-template name="dvt_mandfooter">

<xsl:with-param name="FirstRow" select="$FirstRow" />

<xsl:with-param name="LastRow" select="$LastRow" />

<xsl:with-param name="RowLimit" select="$RowLimit" />

<xsl:with-param name="dvt_RowCount" select="$dvt_RowCount" />

<xsl:with-param name="RealLastRow" select="number(ddwrt:NameChanged('',-100))" />

</xsl:call-template>

</xsl:template>

<xsl:template name="dvt_1.body">

<xsl:param name="ParentPath" />

<xsl:param name="Rows" />

<xsl:param name="FirstRow" />

<xsl:param name="LastRow" />

<xsl:for-each select="$Rows">

<xsl:sort select="*[name() = $dvt_sortfield] | @*[name() = $dvt_sortfield] | text()[name(ancestor::*[1]) = $dvt_sortfield]" order="{$dvt_sortdir}" data-type="{$dvt_sorttype}" />

<xsl:variable name="dvt_KeepItemsTogether" select="false()" />

<xsl:variable name="dvt_HideGroupDetail" select="false()" />

<xsl:if test=" (position() &gt;=$FirstRow and position() &lt;= $LastRow) or $dvt_KeepItemsTogether">

<xsl:if test="not($dvt_HideGroupDetail)" ddwrt:cf_ignore="1">

<xsl:variable name="SrcPos"><xsl:number /></xsl:variable>

<xsl:call-template name="dvt_1.rowview">

<xsl:with-param name="ParentPath" select="$ParentPath" />

<xsl:with-param name="SrcPos" select="$SrcPos" />

</xsl:call-template>

</xsl:if>

</xsl:if>

</xsl:for-each>

</xsl:template>

<xsl:template name="dvt_1.rowview">

<xsl:param name="ParentPath" />

<xsl:param name="SrcPos" />

<div class="ms-PostWrapper">

<xsl:choose>

<xsl:when test="ddwrt:GetVar('BlogPublishedCurrentDate')=ddwrt:FormatDate(string(@PublishedDate),number($Language),5)"></xsl:when>

<xsl:otherwise><h3 class="ms-PostDate"><xsl:value-of disable-output-escaping="no" select="ddwrt:FormatDate(string(@PublishedDate),number($Language),5)" /></h3><xsl:value-of select="ddwrt:SetVar('BlogPublishedCurrentDate', '')"></xsl:value-of></xsl:otherwise>

</xsl:choose>

<TABLE width="100%" border="0" cellspacing="0" cellpadding="0" dir="None"><TR>

<xsl:if test="position() mod 2 = 0" ddwrt:cf_ignore="1">

<xsl:attribute name="class">ms-alternating</xsl:attribute>

</xsl:if>

<xsl:if test="$dvt_1_automode = '1'" ddwrt:cf_ignore="1"><td class="ms-vb" nowrap="nowrap">

<xsl:call-template name="dvt_1.automode">

<xsl:with-param name="KeyField">ID</xsl:with-param>

<xsl:with-param name="KeyValue" select="ddwrt:EscapeDelims(string(@ID))" />

<xsl:with-param name="Mode">ID</xsl:with-param>

</xsl:call-template>

</td></xsl:if>

<TD class="ms-PostTitle"> <a href="{$HttpVDir}/blog/Lists/Posts/Post.aspx?ID={@ID}"><xsl:value-of disable-output-escaping="yes" select="ddwrt:AutoNewLine(string(@Title))" /></a></TD></TR></TABLE>

<div class="ms-PostBody"><div dir="{ddwrt:GetVar('Direction')}"><xsl:value-of disable-output-escaping="yes" select="@Body" /></div></div>

<div class="ms-PostFooter">

<xsl:variable name="VarIDAGKD5B" select="ddwrt:SetVar('First', '1')" />

<!--Title-->

<!--Title-->

<!--Body-->

<!--Body-->

<!--PostedByWithDate-->

<!--Posted By with Date-->

<xsl:choose>

<xsl:when test="ddwrt:GetVar('First')='1'">

<xsl:variable name="VarIDA5KD5B" select="ddwrt:SetVar('First', '0')" />

</xsl:when>

<xsl:otherwise>

<xsl:choose>

<xsl:when test="@PostedByWithDate=''"></xsl:when>

<xsl:otherwise> | </xsl:otherwise>

</xsl:choose>

</xsl:otherwise>

</xsl:choose>

Posted at <xsl:value-of disable-output-escaping="no" select="ddwrt:FormatDate(string(@PublishedDate),number($Language),5)" /> by

<xsl:choose>

<xsl:when test="@Author=''"></xsl:when>

<xsl:otherwise><xsl:value-of disable-output-escaping="yes" select="@Author" /></xsl:otherwise>

</xsl:choose>

<!--CategoryWithLink-->

<!--Category-->

<xsl:choose>

<xsl:when test="ddwrt:GetVar('First')='1'">

<xsl:variable name="VarIDA5KD5B" select="ddwrt:SetVar('First', '0')" />

</xsl:when>

<xsl:otherwise>

<xsl:choose>

<xsl:when test="@CategoryWithLink=''"></xsl:when>

<xsl:otherwise> | </xsl:otherwise>

</xsl:choose>

</xsl:otherwise>

</xsl:choose>

<xsl:choose>

<xsl:when test="@CategoryWithLink=''"></xsl:when>

<xsl:otherwise>Category:

<xsl:choose>

<xsl:when test="@PostCategory=''"></xsl:when>

<xsl:otherwise><a href="{$HttpVDir}/blog/Lists/Categories/Category.aspx?Name={@PostCategory}"><xsl:value-of select="@PostCategory" /></a></xsl:otherwise>

</xsl:choose>

</xsl:otherwise>

</xsl:choose>

<!--NumCommentsWithLink-->

<!--# Comments with Link-->

<xsl:choose>

<xsl:when test="ddwrt:GetVar('First')='1'">

<xsl:variable name="VarIDA5KD5B" select="ddwrt:SetVar('First', '0')" />

</xsl:when>

<xsl:otherwise>

<xsl:choose>

<xsl:when test="@NumCommentsWithLink=''"></xsl:when>

<xsl:otherwise> | </xsl:otherwise>

</xsl:choose>

</xsl:otherwise>

</xsl:choose>

<xsl:variable name="FieldIDAQITTH">

<xsl:choose>

<xsl:when test="@NumComments=''"></xsl:when>

<xsl:otherwise><A HREF="{ddwrt:URLLookup('', 'NumComments', string(@ID))}"><xsl:value-of select="@NumComments" /></A></xsl:otherwise>

</xsl:choose>

</xsl:variable>

<a href="{$HttpVDir}/blog/Lists/Posts/Post.aspx?ID={@ID}#Comments">Comments (<xsl:value-of select="$FieldIDAQITTH" />)</a>

</div>

</div>

</xsl:template>

<xsl:template name="stringreplace">

<xsl:param name="stringvalue" />

<xsl:param name="from" />

<xsl:param name="to" />

<xsl:choose>

<xsl:when test="contains($stringvalue, $from)"><xsl:value-of select="substring-before($stringvalue, $from)" />

<xsl:if test="contains(substring($stringvalue, 1, string-length($stringvalue) - 1), $from)"><xsl:value-of select="$to" />

<xsl:call-template name="stringreplace">

<xsl:with-param name="stringvalue" select="substring-after($stringvalue, $from)" />

<xsl:with-param name="from" select="$from" />

<xsl:with-param name="to" select="$to" />

</xsl:call-template>

</xsl:if>

</xsl:when>

<xsl:otherwise><xsl:value-of select="$stringvalue" /></xsl:otherwise>

</xsl:choose>

</xsl:template>

<xsl:template name="dvt_1.automode">

<xsl:param name="KeyField" />

<xsl:param name="KeyValue" />

<xsl:param name="Mode" />

<table border="0" cellspacing="0" cellpadding="1">

<xsl:choose>

<xsl:when test="$Mode = 'edit'">

<tr>

<td class="ms-vb" width="1%" nowrap="nowrap">

<a href="javascript: {ddwrt:GenFireServerEvent('__commit')}">save</a>

</td>

</tr>

<tr>

<td class="ms-vb" width="1%" nowrap="nowrap">

<a href="javascript: {ddwrt:GenFireServerEvent('__cancel')}">cancel</a>

</td>

</tr>

</xsl:when>

<xsl:when test="$Mode = 'insert'">

<tr>

<td class="ms-vb" width="1%" nowrap="nowrap">

<a href="javascript: {ddwrt:GenFireServerEvent('__commit')}">save</a>

</td>

</tr>

<tr>

<td class="ms-vb" width="1%" nowrap="nowrap">

<a href="javascript: {ddwrt:GenFireServerEvent('__cancel')}">cancel</a>

</td>

</tr>

</xsl:when>

<xsl:otherwise>

<tr>

<td class="ms-vb" width="1%" nowrap="nowrap">

<a href="javascript: {ddwrt:GenFireServerEvent(concat('__cancel;dvt_1_form_editkey={',$KeyValue,'}'))}">edit</a>

</td>

</tr>

<tr>

<td class="ms-vb" width="1%" nowrap="nowrap">

<a href="javascript: {ddwrt:GenFireServerEvent(concat('__cancel;__delete={',$KeyField,'=',$KeyValue,'};__commit'))}">delete</a>

</td>

</tr>

</xsl:otherwise>

</xsl:choose>

</table>

</xsl:template>

<xsl:template name="dvt_mandfooter">

<xsl:param name="FirstRow" />

<xsl:param name="LastRow" />

<xsl:param name="RowLimit" />

<xsl:param name="dvt_RowCount" />

<xsl:param name="RealLastRow" />

<table cellspacing="0" cellpadding="4" border="0" width="100%">

<tr>

<xsl:if test="$FirstRow &gt; 1 or $dvt_nextpagedata">

<xsl:call-template name="dvt_1.navigation">

<xsl:with-param name="FirstRow" select="$FirstRow" />

<xsl:with-param name="LastRow" select="$LastRow" />

<xsl:with-param name="RowLimit" select="$RowLimit" />

<xsl:with-param name="dvt_RowCount" select="$dvt_RowCount" />

<xsl:with-param name="RealLastRow" select="$RealLastRow" />

</xsl:call-template>

</xsl:if>

</tr>

</table>

</xsl:template>

<xsl:template name="dvt_1.navigation">

<xsl:param name="FirstRow" />

<xsl:param name="LastRow" />

<xsl:param name="RowLimit" />

<xsl:param name="dvt_RowCount" />

<xsl:param name="RealLastRow" />

<xsl:variable name="PrevRow">

<xsl:choose>

<xsl:when test="$FirstRow - $RowLimit &lt; 1">1</xsl:when>

<xsl:otherwise>

<xsl:value-of select="$FirstRow - $RowLimit" />

</xsl:otherwise>

</xsl:choose>

</xsl:variable>

<xsl:variable name="LastRowValue">

<xsl:choose>

<xsl:when test="$LastRow &gt; $RealLastRow">

<xsl:value-of select="$LastRow"></xsl:value-of>

</xsl:when>

<xsl:otherwise>

<xsl:value-of select="$RealLastRow"></xsl:value-of>

</xsl:otherwise>

</xsl:choose>

</xsl:variable>

<xsl:variable name="NextRow">

<xsl:value-of select="$LastRowValue + 1"></xsl:value-of>

</xsl:variable>

<td nowrap="" class="ms-paging" align="right">

<xsl:if test="$dvt_firstrow &gt; 1" ddwrt:cf_ignore="1">

<a>

<xsl:attribute name="href">javascript: <xsl:value-of select="ddwrt:GenFireServerEvent('dvt_firstrow={1};dvt_startposition={}')" />;</xsl:attribute>

Start</a>

<xsl:text disable-output-escaping="yes" ddwrt:nbsp-preserve="yes">&amp;nbsp;</xsl:text>

<a>

<xsl:attribute name="href">javascript: history.back();</xsl:attribute>

<img src="/_layouts/images/prev.gif" border="0" alt="Previous" />

</a>

<xsl:text disable-output-escaping="yes" ddwrt:nbsp-preserve="yes">&amp;nbsp;</xsl:text>

</xsl:if>

<xsl:value-of select="$FirstRow" />

- <xsl:value-of select="$LastRowValue" />

<xsl:text xmlns:ddwrt="" ddwrt:nbsp-preserve="yes" disable-output-escaping="yes">&amp;nbsp;</xsl:text>

<xsl:if test="$LastRowValue &lt; $dvt_RowCount or string-length($dvt_nextpagedata)!=0" ddwrt:cf_ignore="1">

<a>

<xsl:attribute name="href">javascript: <xsl:value-of select="ddwrt:GenFireServerEvent(concat('dvt_firstrow={',$NextRow,'};dvt_startposition={',$dvt_nextpagedata,'}'))" />;</xsl:attribute>

<img src="/_layouts/images/next.gif" border="0" alt="Next" />

</a>

</xsl:if>

</td>

</xsl:template></xsl:stylesheet>

TRUE

NotSet

True

False

TitleOnly

@Title,Title;@_ModerationComments,Approver Comments;@Body,Body;@NumComments,# Comments;@PostCategory,Category;@PublishedDate,Published;@_ModerationStatus,Approval Status;@ID,ID;@ContentType,Content Type;@Modified,Modified;@Created,Created;@Author,Created By;@Editor,Modified By;@_UIVersionString,Version;@Attachments,Attachments;@File_x0020_Type,File Type;@FileLeafRef,Name (for use in forms);@FileDirRef,Path;@FSObjType,Item Type;@_HasCopyDestinations,Has Copy Destinations;@_CopySource,Copy Source;@ContentTypeId,Content Type ID;@_UIVersion,UI Version;@Created_x0020_Date,Created;@FileRef,URL Path;

Normal

True

86400

True

True

Posts

440px

False

All

True

True

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download