Documentation ¶
Index ¶
- func EpubLinksFromFile(path string) ([]string, error)
- func EpubLinksFromUrl(url string) ([]string, error)
- func ExtractLinksFromZipFile(zipFile archive.ZipData, nameFragment string) ([]string, error)
- func ReadTextFromXmls(xmlFiles []*zip.File) ([]string, error)
- func ReadXmls(zipReader archive.ZipData, nameFragment string) (xmlTexts []string, err error)
- func UrlsFromXml(xmlText string) ([]string, error)
- func UrlsFromXmls(xmlTexts []string) ([]string, error)
- func XmlFileToString(reader io.Reader) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EpubLinksFromFile ¶
EpubLinksFromFile extracts the URLs from an EPUB file given by its path. The return values are the slice of URLs and any error that happened during the extraction.
func EpubLinksFromUrl ¶
EpubLinksFromUrl extracts the URLs from an EPUB file given with an URL. The return values are the slice of URLs and any error that happened during the extraction.
func ExtractLinksFromZipFile ¶
func UrlsFromXml ¶
func UrlsFromXmls ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.