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

Fonts loaded by JS aren't scraped #3

Open
Misiur opened this issue Oct 30, 2015 · 7 comments
Open

Fonts loaded by JS aren't scraped #3

Misiur opened this issue Oct 30, 2015 · 7 comments
Assignees
Labels

Comments

@Misiur
Copy link
Owner

Misiur commented Oct 30, 2015

As in title

@Misiur Misiur added the bug label Oct 30, 2015
@Misiur Misiur self-assigned this Oct 30, 2015
@Misiur
Copy link
Owner Author

Misiur commented Oct 30, 2015

@Loyalsoldier: Check your wget version wget --version. Since 1.12/1.13 it's fixed:

Binaries: https://eternallybored.org/misc/wget/

@Loyalsoldier
Copy link

@Misiur

It seems can not install. It just disappear within one second. And the version of Wget is still the old one.

@Misiur
Copy link
Owner Author

Misiur commented Oct 30, 2015

Hm, are you using cygwin or someting like that? I only have git bash/msysgit, and custom folder C:\Binaries added to my PATH, and I dropped wget.exe there. If you are using cygwin or something like that, you might need to put your custom binaries folder before the cygwin one, as PATH lookup goes sequentially.

@Loyalsoldier
Copy link

@Misiur

I use choco install wget and finally install the newest one.

And all problems are solved except the rss as there isn't a rss file in the static folder.

@Misiur
Copy link
Owner Author

Misiur commented Oct 31, 2015

If you are using Casper theme, open navigation.hbs, find href="{{@blog.url}}/rss" and change it to href="{{@blog.url}}/rss/index.rss" - this way wget will know it's there. This will not work for specific category feeds I guess, you'd need to feed some map of links to wget manually (or add this to buster, PR's welcome)

@Loyalsoldier
Copy link

Although the RSS still doesn't work, but that's okay. Thanks @Misiur

@Loyalsoldier
Copy link

I simply explain how to solve it:

  1. use chocolatey or brew to install the newest version of wget (>= v1.12)

  2. use Buster provided by @Misiur

  3. try to fix the RSS problem by editing Ghost's navigation.hbs template file like this:

    If you are using Casper theme, open navigation.hbs, find href="{{@blog.url}}/rss" and change it to href="{{@blog.url}}/rss/index.rss"

  4. If you are lucky, everything will be okay.

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

No branches or pull requests

2 participants