-
Notifications
You must be signed in to change notification settings - Fork 125
-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Purl cannot parse some Blogspot sudomains. #38
Comments
This issue is happened by this line and this is the After upgrade that package version to
|
Should we stop using that package? I don't think it is being maintained. |
@jwage , do you mean we stop using the |
Yes, we would have to bring what it does in house. I'm not sure if it makes sense. |
We can use another parser package to replace the Thanks. |
@peter279k That package is fully featured? I think we only use php-domain-parser for a very small piece of functionality so I don't think it makes sense to pull in a big library like that. What if we just pull the small bit of functionality we depend on php-domain-parser for back in to Purl? |
PHP Domain Parser is under active maintenance. If you’re having issues with parsing please make sure the public suffix list cache is up to date. If that doesn’t solve the issue please open an issue against the parser so we can get it taken care of. Thanks! |
By parsing, the domain parser only helps identify component parts of a URL: sub domain, domain, and registrable domain. It is definitely not a full featured URL parser. It’s intended as a complement to purl. |
@jeremykendall, thank you for your reply. |
@peter279k I highly recommend doing a bit of research about URL parsing before deciding to attempt to implement it yourself. Regex won't cut it. I'm not saying you shouldn't, and switching from php-domain-parser might be the best for the project, but it's a topic that's fairly complex and should be well considered before making a decision to reimplement the functionality. |
@jeremykendall Thanks for chiming in. @peter279k Lets open an issue on php-domain-parser and see if we can get it fixed there. |
Hi,
While those work fine:
Those domain extensions doesn't work:
Could be a bug.
Is there any way I can extend domain extensions list for Blogspot and allow those domain extensions too?
The text was updated successfully, but these errors were encountered: