guava icon indicating copy to clipboard operation
guava copied to clipboard

Provide a tool to regenerate PublicSuffixPatterns from the PSL

Open gissuebot opened this issue 11 years ago • 9 comments

Original issue created by f.daniel.cuervo on 2010-11-09 at 04:58 PM


Hi,

For a project I am developing, I wanted to use the up-to-date publicsuffix.org list in a similar manner to your TldPatterns.java. So I have written my own generator that you can download here or from the attachment to this issue:

http://wiki.magnolia-cms.com/display/WIKI/TldPatterns+%28public+suffix+list%29+generator

It is plain Java (5) without external dependencies. Run the Guava class from your console, pipe the output wherever you like, and enjoy :)

I verified the output to be identical to the existing TldPatterns.java, besides a few differences that may come from updates to the publicsuffix.org list.

Kind regards, Felix Rabe Magnolia

gissuebot avatar Oct 31 '14 17:10 gissuebot