Comments (8)
Hey! Sorry, I forgot I'd changed the implementation, I've updated the README, but you wanna put return make(map[string]schema.Data)
instead of return make([]schema.Data)
. That should fix it!
from apollo.
another small thing and one bigger. that the .env file belongs in the root is unclear. given positioning it seems to imply belongs in data.
second: i went to the add page, which isn't documented at all, except in the "see what happens". I enter a URL but don't see the scrape button unless I add something into the content box. I click scrape but don't get the full page content. I actually pointed it at the apollo github main page. nothing is in the data directory.
from apollo.
another small thing and one bigger. that the .env file belongs in the root is unclear. given positioning it seems to imply belongs in data.
second: i went to the add page, which isn't documented at all, except in the "see what happens". I enter a URL but don't see the scrape button unless I add something into the content box. I click scrape but don't get the full page content. I actually pointed it at the apollo github main page. nothing is in the data directory.
also, can the yrl be file://some/linux/path? can it be a directory so that you get all the files?
from apollo.
Yep, fair points, let me update the README right now
from apollo.
Done - 2c3ab74
If you still don't think it's clear, feel free to submit a PR!
from apollo.
I type a link in the link box bu nothing happens. I thried this:
and it changed the title and put some text in the box but when i went to search nothing at all. So seems to get the title, etc but no content. All of the files in the data directory (sources,index,local) are all zero length. I am using firefox.
Added: Got working with a different browser. Scraped and the scrape and add buttons are there. I assume I tap add after scraping? Still couldn't get search results even though i see the text in the local.json.
from apollo.
A couple of things:
- The web scraper is optimized for "digital writing" i.e. blog posts, articles etc. What you pasted won't work correctly because there's nothing meaningful for the web scraper to scrape! Try pasting something that is closer to that format (e.g. http://www.paulgraham.com/hwh.html)
- The README explains that syncing happens once every 3 days. You can manually change that in the code in
cmd/apollo.go
if you want to immediately see a change, or refresh the inverted index every time you add something new
Hope this helps :)
from apollo.
thanks.
from apollo.
Related Issues (10)
- Missing license HOT 1
- Apollo from command line & Chrome extension HOT 2
- [ehnancement request] take input from an rss/atom feed HOT 1
- [suggestion/enhancement] Use pandoc HOT 2
- Error when running server HOT 3
- Error when running server: could not create database for path HOT 1
- Trying to get in touch regarding a security issue HOT 1
- "panic: runtime error: invalid memory address or nil pointer dereference" on macOS HOT 1
- Installation problems
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apollo.