TravelFeed – Modifying HivemindsteemCreated with Sketch.

in #utopian-io5 years ago

Utopian for TravelFeed:

Utopian.io is running this task request on behalf of the TravelFeed Project.



Repository

https://github.com/travelfeed-io/hivemind

Details:

We need a modified Hivemind instance to power the GraphQL API of our dApp.

The following modifications need to be made to the Hivemind code (Python):

hive_posts_cache:

  • Only include posts with a minimum word count of 250 words and travelfeed in the tags and/or category.

  • Add columns for latitude and longitude extracted from the post's json_metadata. Here is an example TravelFeed post with a location in the json_metadata.

    • Scan the post body for a SteemitWorldMap code snippet (swmregex) if no (valid) "coordinates" field is set in the json_metadata.
    • If none of the above apply, default value is NULL.
  • Add columns for country, subdivision, area, and neighbourhood

    • country (ISO 3166 country code)
    • subdivision (ISO 3166 code for state/province/territory..)
    • area (post code if applicable, otherwise, default to NULL)
    • neighbourhood (for rural areas name of larger region e.g. Black Forest, Outback, Mekong Delta, defaults to NULL if it cannot be determined). All names in English. Use a reverse Geocoding service to obtain these information based on the coordinates. Could be done with GeoPy and Nominatim.
  • Add column for curation_score: Percentage of vote by @travelfeed. Defaults to 0.

hive_accounts:

  • Add columns for facebook, instagram, youtube, couchsurfing populated from the json_metadata. Default to NULL.

Components

Calls from the API to the Hivemind database include:

  • Location search: Get posts where latitude and longitude is in certain range, possibly sorted by proximity to a given location;
  • Text search: Get posts by full text search;
  • Feeds: Get posts where author / one or multiple tags / country / subdivision / area / neighbourhood matches/contains request; Get posts chronologically for all authors that are followed by a certain user.
  • User search: Get user where location / Steem username / Steem display_name / instagram / facebook / twitter / youtube / couchsurfing ID matches request;
  • Order posts by curation score or chronologically.

Deadline

25/3

Communication

Join the TravelFeed Discord and reach out to jpphotography#4309 on Discord.

Github

https://github.com/travelfeed-io

Rewards Information:

Rewards generated by this task request will be sent as liquid STEEM to the task solver once the task is completed, as decided by the project owner.

The task will be considered complete after it has been tested and accepted by the project owner and the solvers publish a Utopian post, explaining what they did in order to solve the task.

Sort:  

@travelfeed we researched what could be a much better location system message me. We had long conversations about what would be the best way to tag posts or images with a location. Let's chat

I'm curious to hear about that, just sent you a message!

This post has been included in the latest edition of SoS Daily News - a digest of all the latest news on the Steem blockchain.

I will skip the reward ;)

Ok got it I will definitely do it.

Posted using Partiko Android

@utopian really active and doing good working at steemit

need to your support i am collecting charity to Buying Digital x-ray Machine for tuboclorsis patients--
Please visit Link 4 Charity
@utopian.io and his FANS+FOLLOWERS
Need to your Support live for others

Congratulations @utopian.tasks! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 1 year!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Do not miss the last post from @steemitboard:

SteemitBoard - Witness Update
Vote for @Steemitboard as a witness to get one more award and increased upvotes!

Coin Marketplace

STEEM 0.25
TRX 0.11
JST 0.033
BTC 63036.79
ETH 3067.42
USDT 1.00
SBD 3.82