TABLE OF CONTENTS


Yass/Sitemaps [ Packages ]

[ Top ] [ 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);