Is there a way to import entire youtube channel, not only 20 last feed items?
I thought to import using an xml file and the module Feeds XPath Parser, but I don't now how to create the XML of a Youtube channel. Is this the right way or is there another simple solution?

Comments

twistor’s picture

Project: Feeds » Feeds Crawler
Version: 6.x-1.0-beta9 »
Component: Documentation » Code
Assigned: mardok » twistor
Category: support » feature

There are two arguments you can use in the request url, start-index and max-results. You'd have to change it manually since they limit the results to 50 per request. This is something that Feeds Crawler should do. I'll take this issue over.

mardok’s picture

I just used also Feeds Crawler but with no results.
Maybe I'm doing something wrong.
On Feeds Crawler settings page I have this:
>> Importer: My youtube Channel
>> Offset URL: none
>> Autodetect: Checked
>> HTML or XML: XML
>> XPath: none
>> Number of pages: 0 (no limit)

When i press Crawl the result is "There is no new content"

summit’s picture

Subscribing, greetings, Martijn

mardok’s picture

Anyone can help me?

twistor’s picture

Sorry, what I should have said is that this is something that it *will* do. Currently this feature isn't supported, but it needs to be.

jamix’s picture

No new development is needed to support paginating through YouTube feeds. A channel feed like this one already includes the <link rel='next'> tag which is parsed by Feeds Crawler beautifully.

infojunkie’s picture

+1

infojunkie’s picture

+1

twistor’s picture

Title: Import youtube Channel » Paginate using urls.

I'm getting to it.

twistor’s picture

Status: Active » Patch (to be ported)
joomlerrostov’s picture

Version: » 7.x-1.0-beta1

I need help, i want to parse http://blogs.yandex.ru/search.xml?text=%D0%BD%D0%B0%D1%80%D1%83%D1%88%D0...

where at the end of url is &p=1 which is second page (first is 0). So i need to go through several pages, so p will be 2, 3, 4 .... etc. I set up Number of pages , but dont know what to put in XPath selector for next link setting.

In firebug i see that every page link has following code:

<a class="b-pager__page" href="http://blogs.yandex.ru/search.xml?text=%D0%BD%D0%B0%D1%80%D1%83%D1%88%D0%B5%D0%BD%D0%B8%D1%8F&holdres=mark&ft=comments&server=livejournal.com&from_day=01&from_month=06&from_year=2011&to_day=02&to_month=11&to_year=2011&p=1">2</a>

So, what should i put in XPath selector for next link setting.

joomlerrostov’s picture

.//*[@id='js']/body/table[2]/tbody/tr/td[2]/div[3]/div/div/a

put this xpath with no luck.... Who know how to solve problem ?

twistor’s picture

Status: Patch (to be ported) » Fixed

6.x-2.x has the same features as 7.x-1.x.

Status: Fixed » Closed (fixed)

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

twistor’s picture

Assigned: twistor » Unassigned