ottobre 2007 Blog Posts

Feed history in asp.net 2.0

With the xml obtained in the previous post we can databind it to the asp.net treeview to obtain the blog's history similar to the one shown in blogger UI. My site uses CSS friendly adapters so I needed some css to tweak the visual appearance. I had to slightly change the xslt to get descending date order, to add subtotals of post per year/month/day and the month name instead of the month number. 1: <span>Blog history</span> 2: <asp:TreeView ID="TreeView1" runat="server" DataSourceID="XmlDataSource1" OnSelectedNodeChanged="TreeView1_SelectedNodeChanged" 3: ImageSet="Arrows" AutoGenerateDataBindings="False" LineImagesFolder="~/TreeLineImages" 4: ShowLines="True" Width="361px" EnableTheming="False" EnableViewState="False"> 5: <DataBindings> 6: <asp:TreeNodeBinding DataMember="year" TextField="name" />...

«ottobre»
domlunmarmergiovensab
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910