Hi,
This is a mapper for Drigg.
Please test it and report.

Alexandre

CommentFileSizeAuthor
feedapi_mapper_drigg.inc_.tar_.gz845 bytessashainparis

Comments

alex_b’s picture

Hi bloggybusiness, Drigg style urls always sit on $node->url ?

sashainparis’s picture

Yes, it is hard-coded in the module...

Alexandre

Anonymous’s picture

Category: feature » bug
Priority: Normal » Critical

i get an error when using this mapper

Fatal error: Call to undefined function link_validate_url() in /is/htdocs/wp1009358_8B8EOLWFY1/drupal/sites/all/modules/feedapi_mapper/mappers/feedapi_mapper_drigg.inc on line 31

happenes when using cron.php or refresh.

alex_b’s picture

Status: Needs review » Needs work

response to #3: Code needs work.

alex_b’s picture

Category: bug » feature
Priority: Critical » Normal

This stays a feature request as it's not yet part of FeedAPI mapper. While bug might be fatal, the feature request's not critical. Updating issue properties.

PGiro’s picture

Has this moved forward at all ? I can almost get the taxonomy stuff working but I guess I'll be needing this mapping for the URL...

PGiro’s picture

Version: 5.x-1.0-beta4 » 6.x-1.0-beta2
Status: Needs work » Reviewed & tested by the community

Installed and tested with feedapi_mapper 6.x-1.0-beta2 and the attached file using drigg 6-x-dev snapshot and a blogspot RSS feed without feedburner.

No errors, URL is correctly positionned.

As far as I'm concerned it works. Can you release this in your next update ?

alex_b’s picture

Version: 6.x-1.0-beta2 » 6.x-1.x-dev

I just had a look at drigg http://drupal.org/project/drigg and I saw that it is a very integrated project for a couple of specific user stories.

I'd much rather see the mapper definition go into drigg than maintaining it within the feedapi mapper code base. What do you guys think?

PGiro’s picture

If the drigg project were to provide the mapper, how would it get installed ? Is there a hook for drigg to indicate it has mappers to feedapi_mapper ?

alex_b’s picture

PGiro: sorry for late reply, I was on vacation.

You already implemented the hook (hook_feedapi_mapper()). You just need to copy the code in the mapper you posted here into your drigg module.

PGiro’s picture

Status: Reviewed & tested by the community » Closed (fixed)

Ok, thanks. I ended up doing it differently with strong inspiration from your module and feedapi_itemfilter since there were a couple other things that needed to be done & checked