• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
PubSub, enclosures and "Couldn't find PSFeed of PSEntry"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PubSub, enclosures and "Couldn't find PSFeed of PSEntry"


  • Subject: PubSub, enclosures and "Couldn't find PSFeed of PSEntry"
  • From: Martin <email@hidden>
  • Date: Wed, 6 Feb 2008 19:09:20 +0100

Hi,

My Cocoa app subscribes to several RSS feeds using the PubSub framework. I'd like to handle the downloading of enclosures. To do so, I observe the PSEnclosureDownloadStateDidChangeNotification:

[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(downloadStateDidChanged:) name:PSEnclosureDownloadStateDidChangeNotification object:nil];

The downloadStateDidChanged will be called for any enclosure of any entry of any feed that my application is subscribed to. So in the implementation of downloadStateDidChanged, I'd like to know which entry of which feed I'm dealing with. So I do something like this :

- (void)downloadStateDidChanged:(NSNotification *)notification {
	PSEnclosure *enclosure = [notification object];
	PSEntry *entry = enclosure.entry;
	NSLog(@"%@", entry);
}

But I'm having the following error message :
[WARNING] Couldn't find PSFeed of PSEntry['My Entry Title' 1] (FeedCore=PubSub::FeedCore[Feeds #1] 0x177950, PSClient=(null))


Am I doing something wrong?

Thanks,
-Martin.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: PubSub, enclosures and "Couldn't find PSFeed of PSEntry"
      • From: Martin <email@hidden>
    • Fwd: PubSub, enclosures and "Couldn't find PSFeed of PSEntry"
      • From: Martin <email@hidden>
  • Prev by Date: CoreData.. Relationship Not Persisting
  • Next by Date: Re: Memory management problem
  • Previous by thread: Re: CoreData.. Relationship Not Persisting
  • Next by thread: Fwd: PubSub, enclosures and "Couldn't find PSFeed of PSEntry"
  • Index(es):
    • Date
    • Thread