Content Discovery Checking for GPS/Virtual Beacons: Difference between revisions
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
== Metadata Tester tool == | == Metadata Tester tool == | ||
This works as [https://mozilla-magnet.github.io/metadata-tester/ web page] where you can enter the URL you want to check and the tool will extract the different fields included in that URL. | This works as [https://mozilla-magnet.github.io/metadata-tester/ web page] where you can enter the URL you want to check and the tool will extract the different fields included in that URL. | ||
This will ensure that | This will ensure that a URL will work fine in Magnet or if you need to add extra metadata to the Data Base to ensure that the tile will be shown correctly in the application (as the title, picture...). | ||
== Tool for filtering relevant info/posts from Flickr groups == | == Tool for filtering relevant info/posts from Flickr groups == | ||
This tool scans and filters the posts corresponding to a Flickr group that are geolocalizated and around London (50 km from the center of London) and | This tool scans and filters the posts corresponding to a Flickr group that are geolocalizated and around London (50 km from the center of London)and allow us to select the POIs that we consider relevant. After that we can export the channel, lat, long, and the URL to broadcast that we will use to inject to our Content Data Base. | ||
Steps: | Steps: |
Latest revision as of 21:02, 26 October 2016
For the Pilot in London, previous to Gate 1, Magnet team is injecting GPS content to the Content Database. In order to find the better content the team has created several tools that are really helpful:
Metadata Tester tool
This works as web page where you can enter the URL you want to check and the tool will extract the different fields included in that URL. This will ensure that a URL will work fine in Magnet or if you need to add extra metadata to the Data Base to ensure that the tile will be shown correctly in the application (as the title, picture...).
Tool for filtering relevant info/posts from Flickr groups
This tool scans and filters the posts corresponding to a Flickr group that are geolocalizated and around London (50 km from the center of London)and allow us to select the POIs that we consider relevant. After that we can export the channel, lat, long, and the URL to broadcast that we will use to inject to our Content Data Base.
Steps:
- Create a folder and unzip this file Flickrsearch
- Go to flicksearch folder and enter:
$ npm install $ node index.js
- Launch the browser with localhost:3000, enter the URL of the flickair group you want to scan. It could take a while but later you will see the list of posts from that group geolocalizated and around London.
- Select the URLs that you consider relevant and at the bottom of the page there is a button to export the POIs you have selected and that are ready to be injected in the DB. The result will appear directly on the page, non in a separated file.