Ejemplo n.º 1
0
        void ga_RssItem(XmlTextWriter writer, PostEventArgs e)
        {
            if (EnableGeoRSS)
            {
                string location = e.Post.Custom(_geoRSSCustomFieldName);
                if (string.IsNullOrEmpty(location))
                    location = GeoRSSLocation;

                writer.WriteElementString("georss:point", location);
            }
        }
Ejemplo n.º 2
0
 void ga_RenderPostBody(StringBuilder sb, PostEventArgs e)
 {
     // Embed TrackBack RDF info for this post
     if (EnableTrackbacks && e.RenderLocation == PostRenderLocation.Web && e.Post.EnableComments && e.Post.EnableNewComments)
     {
         sb.Append(TrackBackHandler.GenerateTrackbackRDF(e.Post));
     }
 }