ATOM

There are 2 entries for the tag ATOM

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" />...

Sample c# program to test xslt

  If you don't have a version of vs (or any other xml editor) that supports debugging xslt you can use this simple program to test the xslt of the previous post. Technorati Tags: c#, xslt, ATOM 1: MemoryStream ms = new MemoryStream(); 2: XmlWriterSettings xws = new XmlWriterSettings(); 3: xws.Indent = true; 4: XmlWriter xw = XmlWriter.Create(ms, xws); 5:   6: // Load and transform 7: XslCompiledTransform ctx = new XslCompiledTransform(false); 8: ctx.Load(@"ATOM2Tree.xslt"); 9: ctx.Transform(textBlogUrl.Text, xw); 10:...

«dicembre»
domlunmarmergiovensab
24252627282930
1234567
891011121314
15161718192021
22232425262728
2930311234