class Tremolite::HtmlBuffer
- Tremolite::HtmlBuffer
- Reference
- Object
Defined in:
tremolite/html_buffer.crConstant Summary
-
Log =
::Log.for(self)
Constructors
Instance Method Summary
- #add_to_sitemap
- #add_to_sitemap_urls : Array(String)
- #buffer : Hash(String, String)
-
#check(url : String, content : String, public_path : String, add_to_sitemap : Bool = true, view = nil) : Bool
return true if file must be written
- #compare_content(old_content : String, new_content : String) : Bool
-
#crawler_changefreq : Hash(String, String)
for sitemap
-
#crawler_lastmod : Hash(String, Time)
for sitemap
- #diff_lines(url, i, old_line, new_line)
- #display_diff_of_content(url : String, old_content : String, new_content : String)
- #get_referenced_link(key : String)
- #post_last_modified : Time
- #referenced_links_count
- #store_referenced_link(key : String, url : String, optional : String = "", post_slug : String = "")
Constructor Detail
Instance Method Detail
def check(url : String, content : String, public_path : String, add_to_sitemap : Bool = true, view = nil) : Bool
#
return true if file must be written