You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-3Lines changed: 13 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,8 @@ X.Web.Sitemap is a library for generating and managing sitemaps in .NET applicat
8
8
9
9
## Usage example
10
10
11
-
Below is an example of basic usage in a non-testable manner
11
+
### Sitemap usage example
12
+
Below is an example of basic usage:
12
13
13
14
```cs
14
15
classProgram
@@ -20,7 +21,7 @@ Below is an example of basic usage in a non-testable manner
20
21
sitemap.Add(newUrl
21
22
{
22
23
ChangeFrequency=ChangeFrequency.Hourly,
23
-
Location="http://www.example.com",
24
+
Location="https://www.example.com",
24
25
Priority=0.8,
25
26
TimeStamp=DateTime.Now
26
27
});
@@ -57,7 +58,8 @@ Below is an example of basic usage in a non-testable manner
57
58
}
58
59
```
59
60
60
-
Below is a more comprehensive example that demonstrates how to create many sitemaps and how to add them to a sitemap index file in a unit-testable fashion.
61
+
### SitemapGenerator usage example
62
+
Below is a more comprehensive example that demonstrates how to create multiple sitemaps and how to add them to a sitemap index file.
@@ -155,3 +157,11 @@ Below is a more comprehensive example that demonstrates how to create many sitem
155
157
}
156
158
}
157
159
```
160
+
161
+
---
162
+
163
+
## Contributing
164
+
Contributions to the `X.Web.Sitemap` library are welcome. Please ensure to follow the contributing guidelines specified in the repository for submitting issues, feature requests, or pull requests.
165
+
166
+
## License
167
+
The `X.Web.Sitemap` library is released under [MIT license](https://raw.githubusercontent.com/a-gubskiy/X.Web.Sitemap/master/LICENSE.md).
0 commit comments