Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add support for local files with file:// schema. #22

Merged

Conversation

GrzegorzDrozd
Copy link
Contributor

Using local file vs content of a file ( for parse method ) allows one to use recursive parsing or queue parsing approach and just replace url with local file. Easier for dev time and testing. I also added a test that creates local file in temp.

Using local file vs content of a file ( for parse method ) allows one to use recursive parsing or queue parsing approach and just replace url with local file. Easier for dev time and testing.
I also added a test that creates local file in temp.
@JanPetterMG
Copy link
Collaborator

Thanks, havent tested it yet, but I'll do it as soon as possible (within a day or two). Merge and new version will be released shortly after, assuming everything goes according to the plan. Stay tuned.

@JanPetterMG
Copy link
Collaborator

There seems to be an code conflict between the PRs, could you take a look at this @GrzegorzDrozd ? Thanks.

# Conflicts:
#	src/SitemapParser/UrlParser.php
@GrzegorzDrozd
Copy link
Contributor Author

There seems to be an code conflict between the PRs, could you take a look at this @GrzegorzDrozd ? Thanks.

Done.

@JanPetterMG JanPetterMG merged commit 151bcee into VIPnytt:master Nov 8, 2023
@JanPetterMG
Copy link
Collaborator

Version 1.2.0 is now released.
Thank you @GrzegorzDrozd

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants