duckduckgo / zeroclickinfo-fathead

DuckDuckGo Instant Answers based on keyword data files
https://duckduckhack.com/
Other
318 stars 365 forks source link

Update javadoc instant answer for Java SE 8 #56

Closed zekiel closed 9 years ago

zekiel commented 11 years ago

http://docs.oracle.com/javase/8/docs/api/

cptaffe commented 10 years ago

Recently (March 18, 2014), Java SE 8 was released. It's docs are online, can we change this to Java SE 8 Docs?

zekiel commented 10 years ago

@cptaffe indeed! Thanks for the heads up--I missed that.

cptaffe commented 10 years ago

@zekiel happy to help.

MoriTanosuke commented 9 years ago

Anyone working on this? As a java developer and DDG user I get a lot of java instant answers, but it really feels odd to get URLs pointing to JDK 6 now...

I'm willing to help, but I did not yet work on anything DDG related, so it would be nice if someone could give some links so I can get started. :smile:

mwmiller commented 9 years ago

@MoriTanosuke Consider yourself in charge!

I suspect the place to start looking is in the module's share directory. The data_url and fetch.sh files appear to have some hard-coded references to 6.

If I know anything about software development, I suspect there will be problems with the parse.py script, as well. Feel free to ping @jdorweiler or myself if you get stuck.

Thank you for your interest!

mwmiller commented 9 years ago

@MoriTanosuke I forgot to mention the more general Fathead developer documentation. The Fathead coverage can be a bit sparse, although @elebow has done some recent valuable updates.

We (@moollaza and myself, in particular) would love to hear about how they can be improved, if you have some time to let us know.

MoriTanosuke commented 9 years ago

@mwmiller Thanks for the info. I'll try to update the scripts for JDK8.

MoriTanosuke commented 9 years ago

I started working on this in my fork at https://github.com/MoriTanosuke/zeroclickinfo-fathead I'm not familiar with Python, so it will be slow going, but at least I can produce a first line in output.txt with the class name and the description.

I want to use BeautifulSoup for the HTML parsing stuff, like the README.txt mentions already. Is that available where the Fathead is executed?

jdorweiler commented 9 years ago

@MoriTanosuke We also have fatheads written in Perl, Javascript, and Ruby. What really matters is format of the output.txt file. BeautifulSoup is fine to use though.

MoriTanosuke commented 9 years ago

Just created the PR. If there is anything missing, please tell me and I'll update it.