Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(5)  |  Call(3)  |  Derive(0)  |  Import(2)

src/c/h/Chandler-FeedsPlugin-0.8-r16144/feeds/tests/TestFeedImport.py   Chandler-FeedsPlugin(Download)
 
import unittest, os, time
from feeds.channels import FeedChannel, FETCH_FAILED, FETCH_NOCHANGE, FETCH_UPDATED
from osaf import pim
from util import testcase, indexes
        url = str(url)
        view.refresh(notify=False)
        channel = FeedChannel(itsView=view)
        channel.displayName = url
        channel.url = channel.getAttributeAspect("url", "type").makeValue(url)
        data = file(path).read()
 
        channel = FeedChannel(itsView=view)
        count = channel.parse(data)
 

src/c/h/Chandler-FeedsPlugin-0.8-r16144/feeds/tests/TestFeedIndexing.py   Chandler-FeedsPlugin(Download)
 
import unittest, os, time
from feeds.channels import FeedChannel, FeedItem
from osaf import pim
from chandlerdb.util.URL import URL
        data = file(path).read()
 
        channel = FeedChannel(itsView=view)
        count = channel.parse(data)