GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   What Code Logic Determins "Similar Videos" in programming (https://gfy.com/showthread.php?t=1084566)

lakerslive 10-08-2012 04:43 PM

What Code Logic Determins "Similar Videos" in programming
 
So im building this video script. And I want to have a "Similar" videos section right below my main video..

So similar videos depends on the category where i put the main video under (via backend)? Is that the general logic used?

shake 10-08-2012 04:46 PM

Normally you would match in SQL based on the tags used to describe the video. You can probably find some great examples on stackoverflow.

Tube Ace 10-08-2012 06:12 PM

I noticed on YouTube the first few recommendations are the uploaders' videos, then the rest are probably done by matching tags and possibly playlists.

Zeiss 10-08-2012 06:59 PM

Quote:

Originally Posted by Tube Ace (Post 19240208)
I noticed on YouTube the first few recommendations are the uploaders' videos, then the rest are probably done by matching tags and possibly playlists.

You forget sponsored videos. :winkwink:

- Jesus Christ - 10-08-2012 07:08 PM

Youtube tracks every video a user visits (via cookie or ip?) and uses that data.

I never log into youtube on this computer and have had things I just watched show up as related on a fresh video.

mychemicalromance 10-09-2012 01:29 AM

just give up

Zeiss 10-09-2012 01:34 AM

Quote:

Originally Posted by mychemicalromance (Post 19240658)
just give up

People like you will make him actually do it. :1orglaugh

foxyflesh 10-09-2012 05:42 AM

If you assign it to one category its a start and its quite easy,

tags would probably be simpler to introduce and build on though. Alot of it depends on your db structure, can a move be assigned to multiple categories?


All times are GMT -7. The time now is 09:10 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc