Coder Social home page Coder Social logo

s0oraj / scienceglass Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 10.63 MB

A project which converts a WordPress blog called ScienceGlass into an android app.

Java 98.98% HTML 1.02%
picasso-api picasso-library recyclerview recyclerview-adapter volley-api volley-library webview wordpressapi android android-app

scienceglass's Introduction

Banner

ScienceGlass

A blogging application based on a WordPress Blog website called ScienceGlass.

Install & try the app: Download APK

Blog's Official Website: https://cosmos.home.blog/

  • This app displays recent posts of the blog in its main ui screen.
  • It fetches JSON Data by using Public API of WordPress.
  • The JSON received is then extracted into relevant information and shown in the main user-interface of the app.

Screenshots

     

How this app works

  • This android app displays recent posts of a WordPress Blog called ScienceGlass.
  • It fetches JSON Data from WordPress Public API by using Volley library. Volley helps in fetching JSON data in a seperate background thread.
  • After this, the recieved JSON data is being parsed in the main ui thread. After JSON parsing the data is shown to the main user-interface of the app.
  • For displaying featured image of a post, Picasso library is used which takes image from url and loads it to the screen.
  • And finally, Androids WebView library is used to convert html content into relevant data to be loaded on the screen.

Libraries used

Features

  • Users can set the number of recent post they want to see. For example, if a user sets his preference to three posts then the user is only shown three recent posts from the ScienceGlass blog
  • Swapping and Deleting of Data: Users can tap on a post and swipe right or left to remove it from screen. Users can also tap on a post hold on it and change its location by moving it up or down the list of available posts. Refresh button will restore all data back to its original configuration.
  • Change layout: Users can customize what layout they want to see their posts in. Two layouts are provided: LinearLayout and GridLayout.

API Reference

Get a list of matching posts.

  GET /sites/$site/posts/
Method URL Requires authentication?
GET https://public-api.wordpress.com/rest/v1.1/sites/$site/posts/ No

Method Parameters

Parameter Type Description
$site (int string) Site ID or domain

Our Website (to be replaced by $site) : https://cosmos.home.blog

scienceglass's People

Contributors

s0oraj avatar

Stargazers

 avatar  avatar

Watchers

 avatar

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.