torlaune.de is a new German language website about football (soccer). Registered users or those with a drupal.org ID can create and maintain their own blog, post videos from youtube.com simply by entering the video id, comment on content and write posts in the forum.

The following contributed modules are used on torlaune.de: bookmarks, buddylist, nodewords, pathauto, relatedLinks, service_links, site_map, tagadelic, tinymce, and userpoints.

Thanks in advance to anyone who takes the time to review the site and provides feedback of any kind or posts content.

Comments

yaph’s picture

In the meantime I changed the design while keeping the overall layout. I use a different color scheme now and changed some font sizes.

I’d greatly appreciate some feedback, thanks!

--
Ramiro.org | Torlaune.de

alanburke’s picture

Super site, nice clean design.

Wunderbar!

Alan

yaph’s picture

for your nice feedback and for being the first person to respond!

--
Ramiro.org | Torlaune.de

erinc’s picture

Good looking website.

In videos section are using YouTube API to get the sreenshots of the videos?

yaph’s picture

Yes I am using the youtube API. You need a developer id and the video id and then can request information on videos like that:

http://www.youtube.com/api2_rest?method=youtube.videos.get_details&video_id=2JfrXu9Bilw&dev_id=YOURDEVID

This will return an XML response that includes the url to the thumbnail.

<?xml version="1.0" encoding="utf-8" ?> 
<ut_response status="ok">
 <video_details>
  <author>RedDevil111</author> 
  <title>Best of Raul</title> 
  <rating_avg>4.90</rating_avg> 
  <rating_count>193</rating_count> 
  <tags>Raul Gonzalez</tags> 
  <description>Raul Gonzalez goals</description> 
...
  <thumbnail_url>http://sjl-static7.sjl.youtube.com/vi/2JfrXu9Bilw/2.jpg</thumbnail_url> 
 </video_details>
</ut_response>

--
Ramiro.org | Torlaune.de

erinc’s picture

Thank you for your reply.
After your message I've been trying to figure out how to use the API with php. I (and many others) really appreciate if you can share the code here.

--
www.erinch.com

erinc’s picture

I've found this thread, I think I should be able to use it for this purpose.

www.erinch.com

yaph’s picture

The code sample in http://drupal.org/node/64293#comment-121451 is good.
I also use the PHP XML parser. For requesting the XML data I use libcurl. In the amazontools module you can see how to use libcurl

--
Ramiro.org | Torlaune.de

erinc’s picture

I found this script and it worked http://whoooop.co.uk/2005/03/20/xml-to-array/

My server didn't allow the file_get_contents functions so I used this instead.

Thanks for your help.

www.erinch.com

teamrob’s picture

tag

orces’s picture

torlaune.de ist dir gut gelungen. Währe es möglich die Drupal Lösung als Paket von dir zu erwerben? Ich habe das gleiche vor in einem anderen Sportbereich in der USA. Ich dachte ich frage bevor ich das ganze von Null starte.

LG

yaph’s picture

Torlaune ist eine Drupal 4.7 Site. Für ein neues Projekt sollte man mit Drupal 5 oder 6 arbeiten. Für diese Versionen gibt es bessere Module zum Einbinden von Videos.

--
Websites: SEO-Expert-Blog.com | Torlaune.de