There will be no entries in leech_news_item that link a feed item to its feeds if leech is not enabled for both, the feed and the feed item node.

CommentFileSizeAuthor
#5 leech_news.leech_enabled_bug.patch1.92 KBalex_b

Comments

alex_b’s picture

Priority: Normal » Critical

i bump this one up - needs to be addressed soon.

alex_b’s picture

i need to precise:

SETUP
story as feed item
page as feed
leech enabled on page, not on story
Drupal 4.7.4 php 4.4.4, mysql 4.1.20

RESULT
-> leech does not parse and create feed items

alex_b’s picture

i just installed a fresh copy of drupal with leech and saw that leech is creating nodes from RSS feeds, but all leech_news_item data is missing. that means no connection between feed items and feeds, no links to sources and also: no duplicate handling, for duplicates are identified by the article's link to its original source.

i am close here, i hope i can post a patch later today.

colorado’s picture

That would be so awesome!! Thank you for all your work on this :-D

alex_b’s picture

StatusFileSize
new1.92 KB

This patch removes a check for leech_for# variable in the beginning of the leech_news_nodeapi() hook and in the leech_news_prepare() hook.

I did a quick test on a fresh installation, seems to work fine. I put it up here for testing - but don't test on your production site ; ) !

cheers,
alex

(BTW, mingled in the patch there is also a minor bug fix to the UI).

alex_b’s picture

Status: Active » Needs review
alex_b’s picture

Status: Needs review » Fixed

This is fixed as of version 1.2

Anonymous’s picture

Status: Fixed » Closed (fixed)