Skip to content
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

Use sitemap to download cohesive full site? #362

Open
mikeckennedy opened this issue Mar 25, 2024 · 2 comments
Open

Use sitemap to download cohesive full site? #362

mikeckennedy opened this issue Mar 25, 2024 · 2 comments

Comments

@mikeckennedy
Copy link

Nice CLI tool, thanks!

It would be awesome, and probably not a huge leap, if we could pass a sitemap of an entire website rather than single page and have monolith create multiple individually downloaded files and update the links between the captured pages to refer to each other effectively downloading a site rather than page by page.

@snshn
Copy link
Member

snshn commented Mar 25, 2024

Hello.

Thank you for the kind words.

I absolutely love the idea!
It may be better to keep that as a separate tool that uses Monolith under the hood, but I don't like scripts too much myself, they tend to be badly tested and glitch a lot. Let me think more about this, it's something that could be done in conjunction with filename templates (auto-generating file names based on page titles, currently in development).

@mikeckennedy
Copy link
Author

I'm glad you like the idea. I'm looking forward to seeing what you come up with.

Just for some more background: I could write a simple little app to automate monolith but my concern was that internally the links between pages (i.e. between monolith runs) might get out of sync. Although if I carefully juggled the directory structure of output files, I could pull it off I think.

That said, I think it would be a cool aspect of your project which is close to that feature already. :)

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

No branches or pull requests

2 participants