yne / gotube

YouTube player for the PlayStation Portable
0 stars 1 forks source link

Javascript doubt #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hey, i was trying to make a javascript when i got to the step: find the rss or 
mobile page of the website...

The thing is both of websites i tryed to add to gotube hadn´t a rss or mobile 
page... (sort of cause youporn.com really has a mobile thing you just can´t 
search for videos and you have to download them)
The websites i am trying to add are: Redtube and youporn.

If you find any rss or mobile page please tell me or if you cant find it can 
you tell me another solution please

Thanks  

Original issue reported on code.google.com by koisokoi...@gmail.com on 21 Jan 2011 at 4:33

GoogleCodeExporter commented 9 years ago
You don't need the rss/mobile page to create a script. =)

Original comment by iloveyu...@live.com on 21 Jan 2011 at 5:04

GoogleCodeExporter commented 9 years ago
For youporn mobile visit here:

http://mobile.youporn.com/

Original comment by iloveyu...@live.com on 21 Jan 2011 at 5:05

GoogleCodeExporter commented 9 years ago
Are you sure? I mean the guide says rss and mobile page...i dont think those 
heavier pages will work on psp...

Original comment by koisokoi...@gmail.com on 21 Jan 2011 at 5:16

GoogleCodeExporter commented 9 years ago
the url given to GetContents must contain the 2 variable "page" and "page"

to know where to place this 2 variables, go to the website and search "test" 
and go to the 2nd page :

http://www.dailymotion.com/relevance/search/test/2

but you should verifies if the site provide a lighter result page (mobile site 
or rss) yep! rss page :

http ://www.dailymotion.com/rss/relevance/search/test/2 

Original comment by koisokoi...@gmail.com on 21 Jan 2011 at 5:18

GoogleCodeExporter commented 9 years ago
Well, motherless doesn't have a rss/mobile page and it worked. :s

Original comment by iloveyu...@live.com on 21 Jan 2011 at 6:02

GoogleCodeExporter commented 9 years ago
ok...so you define that page like it was a rss one?

Original comment by koisokoi...@gmail.com on 21 Jan 2011 at 6:18

GoogleCodeExporter commented 9 years ago
Here is the motherless.js. You can use this as a guide. All thanks goes to 
biscotte! =)

var Motherless = new Object();
Motherless.rev        = 1;
Motherless.SearchDesc =
Motherless.Name       = "Motherless";
Motherless.Search     = function (keyword, page){
 var result = new Object();
 result.bypage    = 41;//static
 result.start     = (page-1)*result.bypage+1;
 c=GetContents('http://motherless.com/search/videos?page='+page+'&search='+escape(keyword));
 result.total     = -1;
 result.VideoInfo = new Array();
 while(p=c.indexOf("thumbnail-img-wrap",p)+1){
  video = new Object();
  video.attr          = 3;
  video.id            = ext('<a href="');
  video.Title         = ext('title="');
  video.ThumbnailURL  = ext('url(');
  video.ViewCount     = ext('right ellipsis">',' ')*1;
  video.URL           = 'GetContents("'+video.id+'").ext("flashvars\',\'file=","&")';//
  result.VideoInfo.push(video);
 }
 result.end       = result.start-1+result.VideoInfo.length;
 return result;
}
SiteList.push(Motherless);

Original comment by iloveyu...@live.com on 21 Jan 2011 at 6:21

GoogleCodeExporter commented 9 years ago
thanks a lot

Original comment by koisokoi...@gmail.com on 21 Jan 2011 at 6:46

GoogleCodeExporter commented 9 years ago
in fact , rss/mobile page are faster to load than PC page...
so [if you have choice] you should use the rss/mobile version of the website
else, use tha PC version
and about yp,xv, and other, i've already tried but the video are too big to be 
played smoothly, maybe mobile's video will be fin, but the mobile version don't 
have search or don't allow to show/download a video ...

Original comment by biscotte...@gmail.com on 22 Jan 2011 at 1:22

GoogleCodeExporter commented 9 years ago

Original comment by biscotte...@gmail.com on 6 Mar 2011 at 2:00

GoogleCodeExporter commented 9 years ago
I believe youporn now has a search feature in their mobile site. I'm sick of 
all these tube sites popping up everywhere like http://morningxxx.com and 
http://cityjizz.com and zeesmovies.com , frustrating grrrr they are everywhere, 
should just be one big site.

Original comment by davidshi...@gmail.com on 16 Dec 2011 at 8:02

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
there is another tube site that has just been launched its 
http://www.natoheadquarters.com/

Original comment by skylim...@yahoo.com on 13 Feb 2012 at 6:39

GoogleCodeExporter commented 9 years ago
yes but they don't host the video, they just use embedded player from multiple 
hoster

Original comment by biscotte...@gmail.com on 13 Feb 2012 at 6:44