CVS edit link for nicola.puddu

I'm releasing a module that extends Feeds creating a new parser for the SIRBeC xml files.

http://www.lombardiabeniculturali.it/sirbec/

SIRBeC catalogues the cultural heritage of the Lombard Italian Region, widespread among its territory and museums.
Thanks to this Parser web masters will be able to upload on their website the SIRBeC updated datas.

Comments

nicola.puddu’s picture

Status: Postponed (maintainer needs more info) » Needs review
StatusFileSize
new31.29 KB
new5.48 KB

the beni_culturali_1.0.tgz file contains the module.

the xml_corretti.tgz file contains some SIRBeC xmls files for testing.
the SIRBeC xml files are supposed to be on the localhost webroot to work properly (that's because of the images paths).

avpaderno’s picture

Status: Needs review » Postponed (maintainer needs more info)
Issue tags: +Module review

Hello, and thanks for applying for a CVS account. I am adding the review tags, and some volunteers will review the code, pointing out what it needs to be changed.

As per requirements, the motivation message should be expanded to contain more features of the proposed project. For themes, it should include also a screenshot of the theme, and (when possible) a link to a working demo site using the proposed theme; for modules, it should include also a comparison with the existing solutions.

The use case of the proposed module, as described, seems to be too specific to be useful for other site, expect for sites about Lombardy. Does SIRBeC use a specific XML format, or is it generic enough? Why didn't you create a feature request for the existing project, rather than creating a new module?

As per instructions, you need to attach here the archive containing the code; differently, the application cannot continue.

avpaderno’s picture

Status: Postponed (maintainer needs more info) » Needs work
nicola.puddu’s picture

Status: Needs work » Needs review

i uploaded the module files and the files for testing in the first comment.

SIRBeC is using the ICCD standard for its XML files.
This standard is used for cultural heritage data in Italy.

The parser is too specific to be included as a standard parser for the Feeds Module, and in the Feeds Module documentation the developer suggest that if you need a new parser you should develop a new module for it:

http://drupal.org/node/622700

avpaderno’s picture

Status: Needs review » Needs work

The argument passed to t() is the English string to translate; the proposed module is using Italian strings. The same is true for all the strings that appears in the user interface, which includes the description, and the title given to menu callbacks.

I would also suggest to rename the module because the module name is in Italian, and it makes seems the module specific for use case.

nicola.puddu’s picture

StatusFileSize
new5.32 KB

here's a new version with just English Strings.
I changed the module name too.

avpaderno’s picture

Status: Needs work » Fixed

The code still needs to be changed in some places, but the code doesn't contain any of the mistakes listed in http://drupal.org/node/539608.

  1. /**
     * @file
     * Implementation of FeedsParser::parse().
     *
     */
    

    That comment is referring to a method; it's not the comment that should be used to describe a .inc file.

  2. $guid = !empty($scheda->CD->ISK) ? "{$scheda->CD->ISK}" : $scheda->CD->ISK;
    

    The code should be rewritten as

    $guid = !empty($scheda->CD->ISK) ? $scheda->CD->ISK : "";
    

    If $scheda->CD->ISK is not of the desired datatype, then it should be casted.

Thank you for your contribution! I am going to update your account.

These are some recommended readings to help with excellent maintainership:

You can find more contributors chatting on the IRC #drupal-contribute channel. So, come hang out and stay involved.
Thank you, 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.

I thank all the dedicated reviewers as well.

Status: Fixed » Closed (fixed)
Issue tags: -Module review

Automatically closed -- issue fixed for 2 weeks with no activity.

avpaderno’s picture

Component: Miscellaneous » new project application
Assigned: Unassigned » avpaderno
Issue summary: View changes