Scriptlog Docs

Scriptlog Documentation

Code reference for the Scriptlog codebase

User Tools

Site Tools


scriptlog:lib:utility:blogspotimporter

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
scriptlog:lib:utility:blogspotimporter [2026/09/26 09:09] – admin adminscriptlog:lib:utility:blogspotimporter [2026/09/26 09:34] (current) – admin admin
Line 14: Line 14:
 ======= Docblock Metadata ======= ======= Docblock Metadata =======
  
-  ^ Tag ^ Value ^ +^ Tag ^ Value ^ 
-  | ''@category'' | Utility | +| ''@category'' | Utility | 
-  | ''@author'' | M.Noermoehammad | +| ''@author'' | M.Noermoehammad | 
-  | ''@license'' | MIT | +| ''@license'' | MIT | 
-  | ''@version'' | 1.0 | +| ''@version'' | 1.0 | 
-  | ''@since'' | Since Release 1.0 |+| ''@since'' | Since Release 1.0 |
  
 ======= Inheritance ======= ======= Inheritance =======
Line 29: Line 29:
 //None.// //None.//
  
-======= Properties (0) =======+======= Properties (5) =======
  
-//None declared.//+^ Visibility ^ Type ^ Name ^ Default ^ Line ^ 
 +| ''private'' | ''(untyped)'' | ''$xml'' |  | 18 | 
 +| ''private'' | ''(untyped)'' | ''$feedId'' |  | 19 | 
 +| ''private'' | ''(untyped)'' | ''$title'' |  | 20 | 
 +| ''private'' | ''(untyped)'' | ''$subtitle'' |  | 21 | 
 +| ''private'' | ''(untyped)'' | ''$url'' |  | 22 |
  
 ======= Methods (10) ======= ======= Methods (10) =======
  
-  ^ Visibility ^ Method ^ Summary ^ Line ^ +^ Visibility ^ Method ^ Summary ^ Line ^ 
-  | public | ''__construct()'' | (undocumented) | 24 | +| public | ''__construct()'' | (undocumented) | 24 | 
-  | public | ''parse()'' | Parse XML file from string | 39 | +| public | ''parse()'' | Parse XML file from string | 39 | 
-  | private | ''extractFeedInfo()'' | Extract feed information | 68 | +| private | ''extractFeedInfo()'' | Extract feed information | 68 | 
-  | public | ''getSiteInfo()'' | Get site information | 112 | +| public | ''getSiteInfo()'' | Get site information | 112 | 
-  | public | ''getPosts()'' | Extract all posts from Blogger XML | 127 | +| public | ''getPosts()'' | Extract all posts from Blogger XML | 127 | 
-  | public | ''getPages()'' | Extract all pages from Blogger XML | 295 | +| public | ''getPages()'' | Extract all pages from Blogger XML | 295 | 
-  | public | ''getCategories()'' | Extract all categories/labels from Blogger XML | 357 | +| public | ''getCategories()'' | Extract all categories/labels from Blogger XML | 357 | 
-  | private | ''generateSlug()'' | Generate unique slug | 404 | +| private | ''generateSlug()'' | Generate unique slug | 404 | 
-  | private | ''formatDate()'' | Format date string | 421 | +| private | ''formatDate()'' | Format date string | 421 | 
-  | private | ''cleanXmlContent()'' | Clean XML content | 437 |+| private | ''cleanXmlContent()'' | Clean XML content | 437 |
  
  
Line 69: Line 74:
 Parse XML file from string Parse XML file from string
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$content'' | ''(untyped)'' | //required// | //none// |+|  ''$content'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' — bool **Returns:** ''(none declared)'' — bool
Line 162: Line 167:
 Generate unique slug Generate unique slug
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$title'' | ''(untyped)'' | //required// | //none// | +|  ''$title'' |  ''(untyped)'' |  //required// |  //none// | 
-  | ''$id'' | ''(untyped)'' | '''''' | //none// |+|  ''$id'' |  ''(untyped)'' |  '''''' |  //none// |
  
 **Returns:** ''(none declared)'' — string **Returns:** ''(none declared)'' — string
Line 179: Line 184:
 Format date string Format date string
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$date'' | ''(untyped)'' | //required// | //none// |+|  ''$date'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' — string **Returns:** ''(none declared)'' — string
Line 195: Line 200:
 Clean XML content Clean XML content
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$content'' | ''(untyped)'' | //required// | //none// |+|  ''$content'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' — string **Returns:** ''(none declared)'' — string
scriptlog/lib/utility/blogspotimporter.1790413763.txt.gz · Last modified: by admin