Coder Social home page Coder Social logo

twingly-search-api-java's People

Contributors

dentarg avatar jage avatar mrcz avatar roback avatar twingly-mob avatar vikiv480 avatar walro avatar xsavikx avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

twingly-search-api-java's Issues

Coordinates on Post object, use non-String type

Like twingly/twingly-search-api-ruby#68, we could expose longitude and latitude on the Post object, to make things simpler for the user. We can keep the Coordinate class behind the scenes.

We should probably parse the strings returned from the API with longitude and latitude into a suitable data type. (Is Float good enough?)

I think we should do this before releasing the next version.

No need to use keytool before running tests?

The README here, https://github.com/twingly/twingly-search-api-java#betamax, tells you to use keytool to modify Java's trust store, before running Betamax tests, but perhaps there's an alternative to that, that the tests could use, so the user doesn't have to care.

I saw this at https://github.com/shyiko/mysql-binlog-connector-java#using-ssl (haven't read anything more about this)

System.setProperty("javax.net.ssl.trustStore", "/path/to/truststore.jks");
System.setProperty("javax.net.ssl.trustStorePassword","truststore.password");
System.setProperty("javax.net.ssl.keyStore", "/path/to/keystore.jks");
System.setProperty("javax.net.ssl.keyStorePassword", "keystore.password");

The twingly-api.jar is corrupted

The jar file available for download here seems corrupted. Trying to open it on Linux gives the following error message:

End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.

HTTP compression

We now have support for HTTP compression (e.g. gzip) for Twingly Blog Search API, but this client does not ask for compression.

Build and upload to the central maven repository

In order for users of Maven to utilize artifacts produced by your project, you must deploy them to a remote repository. Many open source projects want to allow users of their projects who build with Maven to have transparent access to their project's artifacts. In order to allow for this, a project must have their artifacts deployed to the Central Repository.

https://maven.apache.org/guides/mini/guide-central-repository-upload.html
#3 should be done first though.

Update Java client to Search API v3 [$50]

Update the client to use the new Blog Search API v3.

Notable changes from the previous version of the Blog Search API are listed under https://developer.twingly.com/resources/search#changes-from-previous-version.

The ruby client was updated in twingly/twingly-search-api-ruby#65, which can be used as help. Some XML fixtures can also be copied from there if needed.

If possible, try to keep all classes/methods/properties backwards compatible with the previous version of the client by marking methods as deprecated. Similar to what was done in the Ruby client.


Did you help close this issue? Go claim the $50 bounty on Bountysource.

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.