Hi Péter,
I probably didn't explain myself very well at 2am :-) The Google Map
was just meant as a demonstration of the underlying geo coordinates in
the job data (exposed as georss in the Atom feed). Eventually I would
like to get a map working on jobs.code4lib.org using LeafletJS [1] or
some other toolkit, where the map can be more customized, and display
more results. The feed is paged, so there's only so much that can be
displayed currently. It might also be interesting to see a map for the
last year of posts, to see general trends in hiring on a map. And I'd
like to get location specific feeds set up for people who still use
feed readers to keep up with things. They do still exist don't they?
That being said, please share whatever you come up with!
//Ed
[1] http://leafletjs.com/
On Sun, Feb 24, 2013 at 8:39 AM, Péter Király <[log in to unmask]> wrote:
> Hi Ed,
>
> thank you for your work, it is very nice job! I have one comment: some
> job description too lengthy to show up in one screen size, so I have
> to move the map downside to see the top of the rescription. After I
> close the window the map doesn't jump back to the original viewport.
> There is a JS solution of this issue, I'll send you it later.
>
> Thanks again!
> Péter
>
> 2013/2/24 Ed Summers <[log in to unmask]>:
>> If you happen to post jobs to code4lib.org you'll notice that you can
>> now add a location for the job. In fact you are required to fill it in
>> when posting.
>>
>> The location input field uses Freebase Suggest just like the employer
>> and tag fields. When you select an employer the location will
>> auto-populate with the employer's headquarters location, but you can
>> change it if the job happens to be somewhere else...which does happen
>> from time to time. I retroactively applied as many locations as I
>> could using the employer.
>>
>> One nice side effect (other than seeing where the job is for in the
>> UI) is having lat/lon geo-coordinates for the job. I haven't built any
>> maps into the UI yet, but I did expose the coordinates in the Atom
>> feed which lets you do this:
>>
>> https://maps.google.com/maps?q=http://jobs.code4lib.org/feed/
>>
>> The small number of markers is because this is just the first page of
>> the feed, e.g.
>>
>> https://maps.google.com/maps?q=http://jobs.code4lib.org/feed/2/
>> https://maps.google.com/maps?q=http://jobs.code4lib.org/feed/3/
>> https://maps.google.com/maps?q=http://jobs.code4lib.org/feed/4/
>> ...
>>
>> If someone has an interest in playing with LeafletJS or something to
>> get some map views into jobs.code4lib.org proper that might be a fun
>> experiment, if you have any spare time.
>>
>> Many thanks to Ted Lawless for the work to get this going, and also to
>> Mark Matienzo for tirelessly assigning employers to the historic job
>> postings. There are still a few kinks to work out (some historic
>> postings that had addresses in non-standard places in the freebase
>> data), but please feel free to file issue tickets on Github [1] if you
>> notice anything odd.
>>
>> //Ed
>>
>> [1] https://github.com/code4lib/shortimer
>
>
>
> --
> Péter Király
> software developer
>
> Europeana - http://europeana.eu
> eXtensible Catalog - http://eXtensibleCatalog.org
|