Kikobeats / uno-urban

Simple and Elegant personal theme for Ghost.
https://kikobeats.github.io/uno-urban
8 stars 0 forks source link

Error in gulp build-search #11

Closed hpz24 closed 8 years ago

hpz24 commented 8 years ago

hi, i tried the new fulltext-search and get an error: image

Kikobeats commented 8 years ago

Hmmm looks like coffeescript loader failed.

Can you try this?

rm -rf node_modules && npm install
hpz24 commented 8 years ago

hi, after the command the build-search completes but... image

i checked the entries in the search.json, as provided in your manual but they are seemed to be ok...

Kikobeats commented 8 years ago

That's my fault, JSON is malformed.

Copy and replace for this: https://gist.github.com/Kikobeats/fc1b8f667560e204abb4fbe13f4d3458

I'm going to release this into the next patch version, thanks!

hpz24 commented 8 years ago

thanks for the new file! so, with the new file the search starts, but the scripts reports, that in the sitemap is no url. when i open the sitemap-posts.xml in my browser, it works (there are urls) image

Kikobeats commented 8 years ago

strange... what version of Ghost are you running?

my command output:

gulp build-search
[11:30:44] Requiring external module coffee-script/register
[11:30:48] Using gulpfile ~/Projects/sailorjs.org/kikobeats.com/content/themes/Uno/gulpfile.coffee
[11:30:48] Starting 'build-search'...
[11:30:48] Finished 'build-search' after 6.14 ms
Welcome to "KIKOBLOG" algolia-webcrawler v1.0.1

Configuring your index kikoblog
Configured index properly

Parsing Sitemap https://kikobeats.com/sitemap-pages.xml
Registered https://kikobeats.com/about/
Registered https://kikobeats.com/
Sitemap https://kikobeats.com/sitemap-pages.xml registered 2 / 2 urls
Parsing Sitemap https://kikobeats.com/sitemap-posts.xml
Registered https://kikobeats.com/styleguide/
Registered https://kikobeats.com/http-post-dilemma/
...

settings of search.json:

"sitemaps": [
    { "url": "https://kikobeats.com/sitemap-posts.xml"},
    {"url": "https://kikobeats.com/sitemap-pages.xml"}
  ],
hpz24 commented 8 years ago

hi, version ghost 0.8.0 maybe thereis a problem with the api-key from algolia? it is a little bit confusing, which api-key is the right one... in the backend i use the "Admin API-Key", in the frontend "search-only API-Key"

but i´m worry about my Reverse Proxy, i think there will be the problem...