duckduckgo / zeroclickinfo-fathead

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

Java: Create New Apache Commons Fathead #549

Closed moollaza closed 7 years ago

moollaza commented 7 years ago

Create a new Apache Commons Fathead Instant Answer

Help us make DuckDuckGo the best search engine for programmers!

What do I need to know?

You'll need to know how to code in Perl, Python, Ruby, or JavaScript. fathead languages

What am I doing?

You will write a script that scrapes or downloads the data source below, and generates an output.txt file containing the parsed documentation. You can learn more about Fatheads and the output.txt syntax here.

More Info

The list of commons components is available at http://commons.apache.org. Each component has it's own JavaDoc that can be parsed. The JavaDocs are available at http://commons.apache.org/proper/commons-{{component_name}}/apidocs/index.html (e.g. http://commons.apache.org/proper/commons-math/apidocs/index.html)

For each component's packages, we should scrape the Interfaces, Classes, Enums, etc.

Data source: http://commons.apache.org/

Instant Answer Page: to be created by developer

What is the Goal?

As part of our Programming Mission, we're aiming to reach 100% Instant Answer (IA) coverage for searches related to programming languages by creating new Instant Answers, and improving existing ones.

Here are some Fathead examples:

See more related Instant Answers

Get Started

Resources

nikhilsingh291 commented 7 years ago

I can do this. Assign me

marti1125 commented 7 years ago

Hi @nikhilsingh291 it's yours 👍 please check this PR for have an good idea how to can create a Fathead https://github.com/duckduckgo/zeroclickinfo-fathead/pull/575

moollaza commented 7 years ago

@nikhilsingh291 you're assigned! Thanks again for volunteering 👍

pjhampton commented 7 years ago

Hey @nikhilsingh291! How are you getting on? Do you have any questions?

nikhilsingh291 commented 7 years ago

Sorry it completely went off my mind. I'll finish this in 2-3 days. @pjhampton can I use a python script to download the source files as the JavaDocs are spread across multiple pages ? A recursive download will take a lot of space and will download extra files.

pjhampton commented 7 years ago

Hey @nikhilsingh291, that's cool! just checking in 😄 What is the IA page? Yeah, you can take that approach 👍

pjhampton commented 7 years ago

This seems to have gone stale. Closing for now 👍