Basic Infos
Drupal 6.x
Link to sandbox: http://drupal.org/sandbox/vlad.k/1396508
git clone --branch master vlad.k@git.drupal.org:sandbox/vlad.k/1396508.git whami_source_adapter
cd whami_source_adapter
Use case
In the context of nodes with geo-information – for example using maps - there is pretty often the requirement to display further geo-related information in the same area as the geo-information of the node itself. ´whami source-adapter´delivers a generic method fulfilling this requirement together with two source adapters, one for Panoramio, one for Wikipedia. This module was part of the development of whami.com and can easily be extented with further source adapters.
Description
‘whami source-adapter’ delivers two configurable display blocks for Wikipedia/Panoramio-content which is locally close to the geo-information of the node.
Panoramio source adapter
The Panoramio source adapter selects photos via the Panoramio REST API using the following parameters:
- Photo type public (not configurable)
- number of displayed photos (configurable)
- for the preview the size ´small´ is used (not configurable)
- for the lightbox-display the size ´medium´ is used (not configurable)
The selected photos are displayed in small size in a block. By clicking on the photo you get a medium size display of the photo in a lightbox. The narrative of the medium size picture shows a link to the photo and author page of the photo.
Wikipedia source adapter
The Wikipedia source adapter selects photos near the zoomed area from the Geonames service on www.geonames.com. This is done via the Geonames module. We recommend to use the premium service of Geonames since it is more reliable.
Configuration
The module has configuration screens within the block configuration for each block:
the definition of the geofield which is used within the node
the radius used for the proximity search around the node´s geofield
the number of small photos in the block (max. 100)
Dependencies
Lightbox 2.0
Geonames
Geo
CCK
References
You can use the website of whami.com as a reference for the working module. If you should require additional source adapters please contact the maintainers of the module.
Reviews of other projects
I (KhaledBlah) am one of the maintainers for this project and I have done reviews of other modules:
03/26/12
http://drupal.org/node/1115102#comment-5780044
http://drupal.org/node/1387212#comment-5785628
http://drupal.org/node/1437126#comment-5785838
I (KhaledBlah) have done 3 more reviews which I would like to see attributed to this project.
05/18/12
http://drupal.org/node/1585740#comment-6012792
http://drupal.org/node/1459458#comment-6008648
http://drupal.org/node/1535858#comment-6012922
Comment | File | Size | Author |
---|---|---|---|
#16 | drupalcs-result.txt | 6.2 KB | klausi |
#10 | drupalcs-result.txt | 2.79 KB | klausi |
#2 | drupalcs-result-1413480.txt | 32.84 KB | chertzog |
Comments
Comment #0.0
vlad.k CreditAttribution: vlad.k commentedLink to sandbox.
Comment #1
vlad.k CreditAttribution: vlad.k commentedComment #1.0
vlad.k CreditAttribution: vlad.k commentedAdded link to git repository
Comment #2
chertzogIt appears you are working in the "master" branch in git. You should really be working in a version specific branch. The most direct documentation on this is Moving from a master branch to a version branch. For additional resources please see the documentation about release naming conventions and creating a branch in git.
Review of the master branch:
This automated report was generated with PAReview.sh, your friendly project application review script. You can also use the online version to check your project. Get a review bonus and we will come back to your application sooner.
Comment #3
chertzogComment #4
vlad.k CreditAttribution: vlad.k commentedI moved from the master branch to a versioned branch and fixed all the code style issues. The online code style review at http://ventral.org/pareview doesn't return any errors or warnings.
Please review again.
Comment #5
martin.l CreditAttribution: martin.l commentedHi,
is there any progress on this one?
Best regards,
martin.l
Comment #6
martin.l CreditAttribution: martin.l commentedHi,
we would really like to publish this module and think that all requirements have been fulfilled in the meantime, so there is only very few left on the reviewers side to do ... we would ask in the most polite way if there is a chance to take this last step ;-)
Regards,
martin.
Comment #7
patrickd CreditAttribution: patrickd commentedHi,
I'm sorry for the delay,
as there are currently hundreds applications in the queue we need more reviewers,
so think about getting a review bonus and we will come back to your application sooner.
Comment #8
martin.l CreditAttribution: martin.l commentedHi,
okay, thanks for the answer. We´ll see, what we can do in terms of review bonus.
Still we would be grateful if this application was given some priority, since we are deeply convinced that the module could be very helpful for the community...
Regards,
martin.
Comment #8.0
martin.l CreditAttribution: martin.l commentedText formatting.
Comment #8.1
KhaledBlah CreditAttribution: KhaledBlah commentedadded first review of another module for the review bonus
Comment #8.2
KhaledBlah CreditAttribution: KhaledBlah commentedadded my username and a link my profile to review bonus description for clarification
Comment #8.3
KhaledBlah CreditAttribution: KhaledBlah commentedadd another personal review
Comment #9
KhaledBlah CreditAttribution: KhaledBlah commentedAs per http://drupal.org/node/1410826 I have added the review bonus tag. Please see the list of reviews I have done on the first post of this page.
Comment #9.0
KhaledBlah CreditAttribution: KhaledBlah commentedadded 3 review for review bonus
Comment #10
klausiThanks for your reviews, just make sure that you pick applications that did not get a review in a long time.
Review of the 6.x-1.x branch:
This automated report was generated with PAReview.sh, your friendly project application review script. You can also use the online version to check your project. Get a review bonus and we will come back to your application sooner.
manual review:
htmlentities($logo . '<br />' . $title_link . '<br />' . $owner_link . '<br />' . $variables['panoramio_license']);
: this will break the br tags, no? And you should use check_plain(), filter_xss() or whatever Drupal function is appropriate.Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Comment #11
vlad.k CreditAttribution: vlad.k commentedWe fixed the above mentioned issues and commited the changes to git.
regarding the last issue:
htmlentities($logo . '
' . $title_link . '
' . $owner_link .
'
' . $variables['panoramio_license']);: this will break the br
tags, no? And you should use check_plain(), filter_xss() or whatever
Drupal function is appropriate.
This code is functional the way it is and htmlentities is appropriate.
The result will be used in a Java Script function which requires the
input to be encoded in this way.
We really want to give back and contribute to the Drupal community. But we have no more resources to speed up the review proces with own reviews. It would be nice if you could consider our efforts in the further priorisations of the review issue. Especially the Drupal Panoramio integration is a requested feature, so I think it is a true benefit for the community, when this project is released.
Comment #12
martin.l CreditAttribution: martin.l commentedHi,
since all requirements have been fulfilled by now ... I would like to ask in the most polite way, if there are any obstacles left, keeping this module from being published?
Regards,
Martin.L
Comment #13
patrickd CreditAttribution: patrickd commentedSorry for the delay, indeed the biggest obstacle is the small number of reviewers :/
Please consider doing another 3 manual reviews of other projects so we can come back to you sooner.
Comment #14
martin.l CreditAttribution: martin.l commentedTo be honest...this is some kindda frustrating. Every time we have eliminated all visible errors, new ones are being discovered, hindering this great module from being availabe to the community. All errors have been resolved: Could you please take a final look ... and release it? Thank you so much ...
Comment #14.0
martin.l CreditAttribution: martin.l commentedadded text "Reviews of other projects" in a h2 tag for better readability
Comment #15
KhaledBlah CreditAttribution: KhaledBlah commentedadded PAReview: review bonus as per http://drupal.org/node/1410826
Comment #16
klausiReview of the 6.x-1.x branch:
This automated report was generated with PAReview.sh, your friendly project application review script. You can also use the online version to check your project. Get a review bonus and we will come back to your application sooner.
manual review:
require_once dirname(__FILE__) . '/mymodule.inc';
htmlentities($logo . '<br />' . $title_link . '<br />' . $owner_link . '<br />' . $variables['panoramio_license']);
": you have HTML tags in that call, but you escape them afterwards?Although you should definitively fix those issues they are not application blockers, so I guess this is RTBC. Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Comment #17
patrickd CreditAttribution: patrickd commentedThanks for your contribution and welcome to the community of project contributors on drupal.org!!
I've granted you the git vetted user role which will let you promote this to a full project and also create new projects as either sandbox or "full" projects depending on which you feel is best.
Thanks, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
As you continue to work on your module, keep in mind: Commit messages - providing history and credit and Release naming conventions.
Thanks to the dedicated reviewer(s) as well.
Comment #18.0
(not verified) CreditAttribution: commentedadded links to reviews done by me (KhaledBlah)