Apologies for this one.  I accidentally posted into a github issue that was 
open rather then into the chatgpt window I had open.  Duh!  I deleted the post 
seconds later but sadly it still mailed it to everyone.   It happens :-)

-----Original Message-----
From: rclabo (via GitHub) <g...@apache.org> 
Sent: Thursday, October 26, 2023 1:12 PM
To: dev@lucenenet.apache.org
Subject: Re: [I] When will the 4.8.0 version be released? [lucenenet]


rclabo commented on issue #793:
URL: https://github.com/apache/lucenenet/issues/793#issuecomment-1781518837

   Here is an example of some javascript comments for a object called PageData:
   // format of pageData:
   // errorMsg,                  // Only has a non blank value if there was an 
error processing this url.
   // issueType                  // eg. blank or "StatusCode"
   // url,                       // Absolute url that includes the protocol. 
Typically sourced from an <a href> or <img src> attribute.
   // contentType,               // Content type of the page. Expected to be 
"text/html".
   // title,                     // Title of the page.
   // h1,                        // First H1 on the page.
   
   Give me the anologus js comments for this c# class:
   public class SitemapUrl {
   
       /// <summary>
       /// URL of the page. This URL must begin with the protocol (such as 
http) and end 
       /// with a trailing slash, if your web server requires it. This value 
must be less 
       /// than 2,048 characters.
       /// </summary>
       public string Location { get; set; } = "";
   
       /// <summary>
       /// Optional.  Null if not set.
       /// The date of last modification of the page. This date should be in 
W3C Datetime format. 
       /// This format allows you to omit the time portion, if desired, and use 
YYYY-MM-DD.
       /// Note that the date must be set to the date the linked page was last 
modified, 
       /// not when the sitemap is generated.
       /// </summary>
       public DateTime? LastModified { get; set; } = null;
   
       /// <summary>
       /// Optional.  Null if not set.
       /// How frequently the page is likely to change. This value provides 
general information to 
       /// search engines and may not correlate exactly to how often they crawl 
the page. 
       /// Valid values are: always, hourly, daily, weekly, monthly, yearly, 
never
       /// The value "always" should be used to describe documents that change 
each time they 
       /// are accessed. The value "never" should be used to describe archived 
URLs.
       /// The value of this tag is considered a _hint_.
       /// </summary>
       public string ChangeFrequency { get; set; } = null;
   
       /// <summary>
       /// Optional.  Null if not set.
       /// The priority of this URL relative to other URLs on your site. Valid 
values range 
       /// from 0.0 to 1.0.  The default priority of a page is 0.5  Think of 
the Priority
       /// values you assign to a url to help the bot assesses the relative 
priority of
       /// that url vs some other url on your site.
       /// </summary>
       public decimal? Priority { get; set; } = null;
   
       /// <summary>
       /// Images associated with this url.
       /// </summary>
       public List<SitemapImage> Images = new List<SitemapImage>();
   
   
       /// <summary>
       /// Videos associated with this url.
       /// </summary>
       public List<SitemapVideo> Videos = new List<SitemapVideo>();
   
   }
   


--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the URL above to go 
to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@lucenenet.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




Reply via email to