TABLE OF CONTENTS
- 1. Yass/Sitemaps
- 1.1. Sitemaps/Sitemaps.Main_Node
- 1.2. Sitemaps/Sitemaps.Sitemap
- 1.3. Sitemaps/Sitemaps.Sitemap_File_Name
- 1.4. Sitemaps/Get_Sitemap_File_Name
- 1.5. Sitemaps/Set_Main_Node
- 1.6. Sitemaps/Sitemaps.AddPageToSitemap
- 1.7. Sitemaps/Sitemaps.Get_Sitemap
- 1.8. Sitemaps/Sitemaps.SaveSitemap
- 1.9. Sitemaps/Sitemaps.Set_Sitemap
- 1.10. Sitemaps/Sitemaps.StartSitemap
Yass/Sitemaps [ Packages ]
FUNCTION
Provide code for create sitemap
SOURCE
package Sitemaps is
Sitemaps/Sitemaps.AddPageToSitemap [ Subprograms ]
[ Top ] [ Sitemaps ] [ Subprograms ]
FUNCTION
Add selected page with full path FileName, it ChangeFrequency and PagePriority to the sitemap
SOURCE
procedure Add_Page_To_Sitemap (File_Name, Change_Frequency, Page_Priority: String) with Pre => File_Name'Length > 0, Test_Case => (Name => "Test_Add_Page_To_Sitemap", Mode => Robustness);
PARAMETERS
FileName - Full path to the page which will be added to the sitemap ChangeFrequency - How often selected page will change PagePriority - Priority for the page
Sitemaps/Sitemaps.SaveSitemap [ Subprograms ]
[ Top ] [ Sitemaps ] [ Subprograms ]
FUNCTION
Save site map to file
SOURCE
procedure Save_Sitemap with Test_Case => (Name => "Test_Save_Sitemap", Mode => Robustness);
Sitemaps/Sitemaps.StartSitemap [ Subprograms ]
[ Top ] [ Sitemaps ] [ Subprograms ]
FUNCTION
Create new or load existing sitemap for the site
SOURCE
procedure Start_Sitemap with Test_Case => (Name => "Test_Start_Sitemap", Mode => Robustness);