Giter Site home page Giter Site logo

ghost-search's People

Contributors

erjanmx avatar mskian avatar nistorcristian avatar zce avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ghost-search's Issues

host instead of url

Using the example in the docs with version 1.0.1

<script>
    let ghostSearch = new GhostSearch({
        key: '22444f78447824223cefc48062', // This is just a demo key. Replace the key with a real one. See Step 3.
        url: 'https://demo.ghost.io', // This is just a demo host. Replace the demo url with a real one. See Step 3.
    })
</script>

leads to a log of Content API Client Library host missing. Please set the host. Must not end in a trailing slash. Changing key to host fixes this.

GhostSearch is not defined

Thank you for what looks like a great library!

I'm struggling to make it work though receiving ReferenceError: GhostSearch is not defined. I believe it is ๐Ÿ˜Ž

I've forked the casper theme and made edits to author.hbs and default.hbs if you'd be so kind as to take a look. I think I've followed the documentation to the letter (including npm install ghost-search in the ghost container I'm running).

repo - https://github.com/IronicBadger/Casper
site - https://blog.ktz.me/author/alex/

Temporary div for returning search results on my author page (for now). Thanks in advance for any assistance you can offer.

Question: Separate Ghost search page

Hi there,

The search works well but I'm wondering if it's possible to have a results PAGE? From what I've seen so far, this gives search results inline on the page the search query was placed. What if I want to send my user to entirely new page with the search parameter in the url?

Webpack support

Great library!

Would be awesome to be able to use it with webpack. Getting GhostSearch is not defined when I try to import it. With normal script it works well.

Karens

Search for posts on subfolder

How can i use sob folder search instead of subdomain. For example:
I want to search Posts on example.com/blog and not blog.example.com
But i do not have the Ghost pro, i make the redirect via ngnix.

Amazing, you've done a good job.

It would be excellent if you modulate it for use with webpack.

I'm updating my Ghost theme (Simply and Mapache) to use this fantastic search engine.

This is not a mistake I just wanted to congratulate you. ๐Ÿ˜ƒ

Why is ghost search crashing?

Recently the search is crashing if you input more than 10 characters in it, leaving the page unresponsive. Has anyone come across this and are there any possible solutions to this problem?

It is not taking into account Options

Hi ๐Ÿ˜„

I realize there's a little problem
When you add options for the Api it is not taking into account.

โ€” For example

api: {
	resource: 'posts',
	parameters: { 
		limit: 10,
		fields: ['title', 'slug', 'custom_excerpt'],
	},
},

As you can see, I only call 10 post, but It return all post and does not take into account any of these options that is added.

โ€” Checking the code, I think I found the possible error.

browse.limit = 'all';

This is solved by removing this line.
It is also necessary to update the documentation with the new values that the version two of the Api accepts.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.