
Security News
New CNA Scorecard Tool Ranks CVE Data Quality Across the Ecosystem
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.
github.com/grokify/go-wordpressxml
The go-wordpressxml
package provides a WordPress WXR (WordPress eXtended RSS) XML parser.
Documentation is provided using godoc and available on GoDoc.org.
Installing any of the packages will install the entire library. For example:
$ go get github.com/grokify/go-wordpressxml
import (
"github.com/grokify/go-wordpressxml"
)
func main() {
wp := wordpressxml.NewWordPressXML()
err := wp.ReadFile("myblog.wordpress.2016-08-13.xml")
if err != nil {
panic(err)
}
wp.WriteMetaCSV("articles.csv")
}
Since WordPress uses content:encoded
and excerpt:encoded
, Go's XML built-in parser treats both of these as the field encoded
in different namespaces. This parser retrieves these fields as an array of encoded
and then moves the data into the Content
property.
Features, Issues, and Pull Requests are always welcome.
To contribute:
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)Please report issues and feature requests on GitHub.
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.
Research
/Security News
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
Research
/Security News
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.