forked from a-gubskiy/X.Web.Sitemap
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'ernado-x:master' into master
- Loading branch information
Showing
21 changed files
with
211 additions
and
240 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<Project> | ||
|
||
<PropertyGroup> | ||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild> | ||
|
||
<PackageReadmeFile>README.md</PackageReadmeFile> | ||
<PackageLicenseFile>LICENSE.md</PackageLicenseFile> | ||
<PackageIcon>x-web.png</PackageIcon> | ||
|
||
<Authors>Andrew Gubskiy</Authors> | ||
<Copyright>Andrew Gubskiy © 2024</Copyright> | ||
<Company>Ukrainian .NET Developer Community</Company> | ||
|
||
<Version>2.10.3</Version> | ||
<AssemblyVersion>2.10.3</AssemblyVersion> | ||
<FileVersion>2.10.3</FileVersion> | ||
<PackageVersion>2.10.3</PackageVersion> | ||
|
||
<RepositoryType>git</RepositoryType> | ||
<RepositoryUrl>https://github.com/ernado-x/X.Web.Sitemap.git</RepositoryUrl> | ||
<PackageProjectUrl>https://andrew.gubskiy.com/open-source</PackageProjectUrl> | ||
</PropertyGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
using System; | ||
using System.ComponentModel; | ||
using System.Xml.Serialization; | ||
using JetBrains.Annotations; | ||
|
||
namespace X.Web.Sitemap; | ||
|
||
[PublicAPI] | ||
[Serializable] | ||
[Description("Encloses all information about a single image. Each URL (<loc> tag) can include up to 1,000 <image:image> tags.")] | ||
[XmlRoot(ElementName = "image", Namespace = "http://www.google.com/schemas/sitemap-image/1.1")] | ||
public class Image | ||
{ | ||
/// <summary> | ||
/// Location of the image. | ||
/// </summary> | ||
[Description("The URL of the image.")] | ||
[XmlElement(ElementName = "loc", Namespace = "http://www.google.com/schemas/sitemap-image/1.1")] | ||
public string Location { get; set; } = ""; | ||
|
||
/// <summary> | ||
/// Caption of the image. | ||
/// </summary> | ||
[Description("The caption of the image.")] | ||
[XmlElement(ElementName = "caption", Namespace = "http://www.google.com/schemas/sitemap-image/1.1")] | ||
public string? Caption { get; set; } | ||
|
||
/// <summary> | ||
/// Geographic location of the image. | ||
/// </summary> | ||
[Description("The geographic location of the image. For example, \"Limerick, Ireland\".")] | ||
[XmlElement(ElementName = "geo_location", Namespace = "http://www.google.com/schemas/sitemap-image/1.1")] | ||
public string? GeographicLocation { get; set; } | ||
|
||
/// <summary> | ||
/// Title of the image. | ||
/// </summary> | ||
[Description("The title of the image.")] | ||
[XmlElement(ElementName = "title", Namespace = "http://www.google.com/schemas/sitemap-image/1.1")] | ||
public string? Title { get; set; } | ||
|
||
/// <summary> | ||
/// License of the image. | ||
/// </summary> | ||
[Description("A URL to the license of the image.")] | ||
[XmlElement(ElementName = "license", Namespace = "http://www.google.com/schemas/sitemap-image/1.1")] | ||
public string? License { get; set; } | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.