Author Archive

postheadericon How to Use Google Weather API in Your Web Page



There are many reasons to add Weather API to your website. 124,000,000 search queries for “Weather” are processed each month, and sometimes it relates to your business. How can you add it? How to find the one that will fit your desired area? Is there a free tool online to build it?

The answer for all this questions is Google’s Weather API. Google has an API that processed information about Weather temperatures and conditions for 5 days, the recent and 4 days forward. Like all others API that Google developed, it’s free.

Basically you need to be knowledgeable with HTML, CSS and PHP. The code contains the information puller (PHP), and the designer code (HTML & CSS).

The PHP part (this part will be added before the next HTML/PHP code)
xpath(“/xml_api_reply/weather/current_conditions”); // get current temperature and condition $information = $xml->xpath(“/xml_api_reply/weather/forecast_information”); // get next days temperatures $forecast_list = $xml->xpath(“/xml_api_reply/weather/forecast_conditions”); // get next days conditions ?>

This will pull all the information about the place you chose, and will be ready to be placed inside your page with PHP code.

The HTML & PHP part
New-York City Weather ° F,

° F – ° F,

This part place your data together with its own design. It is important to design it, since you will want to place it in a particular spot on the page, and to use your website color. Next you will find CSS code that I have used to create simple table of weather.

The CSS part
.weather {width:245px; height:40px; background:#d7d7d7; padding:2px; margin-bottom:2px;} .weather img {float:left;} .weather.condition {width:200px; height:40px; float:right; text-align:left;}

postheadericon Top 5 DJs Not to Miss in Ibiza in 2009



Ibiza is an island popular for its summer club parties, and is located about 80 km off the coast of Spain. Many tourists visit Ibiza every year to listen to great music from top DJs of the world. The island has some great clubs which are popular all around the world. Some great clubs in Ibiza which offer guaranteed enjoyment to its visitors include Amnesia, Privilege, Space, Pacha, and DC10.

DJing is not an easy work. You must be skilled enough to satisfy the requirements of clubbing public. You must choose the exact equipment for the music you will be going to play, and you should know how to keep up with continually shifting scene. One thing is guaranteed that in DJ profession you have to spend a lot of time and money.

Almost all elite DJs know the secret formula to get on the top. The formula wants you to host a radio show or perform at little island of Spain, Ibiza. Many top DJs have their own residency in Ibiza which has made them popular to the general public. If you will be in Ibiza in 2009, don’t miss out the following top 5 DJs who would be performing their best skills there.

Ti

postheadericon The Best NYC Rooftop Bars



NYC Neighborhood: Midtown West

#1–Top of the Strand

Address: 33 W. 37th St., nr. Sixth Ave.
Phone: 212-448-1024

Number 1 in the New York Magazine “Best of New York” Issue for best rooftop bar…

Top of the Strand is a small but well appointed space atop the Strand Hotel. The drinks are “New York Reasonable” at $8 a beer and $11 a cocktail. This is an excellent place to take a small group for a relaxing summer evening.
——————

NYC Neighborhood: Midtown

#2–Mad46

Address: 45 East 45th St, New York, NY
Phone: (212) 885-6095

Located in the heart of Manhattan near Grand Central and atop the Roosevelt Hotel, Mad 46 is now fully open. They have a beautiful space, complete with awnings (and a happy hour) for those tough drizzly/rainy days. Mad46 is a great after work spot for a Thursday Cocktail meetup.
——————–

NYC Neighborhood: Chelsea

#3–Glass Bar (at Hotel Indigo)

Address: 127 W 28th St (between Sixth and Seventh Ave)
Phone: 212-973-9000

Glass Bar is the rooftop bar atop the new Hotel Indigo in Chelsea. 20 Floors up with great views and interesting drinks. To top it off, Every Monday Evening from 8pm to 10pm enjoy swing music and cocktails with The Michael Fredo Orchestra.
——————-

NYC Neighborhood: Meatpacking District

#4–The Plunge Rooftop Bar at Hotel Gansevoort

Address: 18 9th Avenue
Phone: (212) 206-6700

The Plunge at Hotel Gansevoort is one of the swankiest rooftop establishments in New York City. A quick search for @Meatpacking District #rooftop? reveals several others. The Plunge has an attached Pool which makes for excellent daytime pool parties the likes of which you’ve only seen in movies! Check out the video below to have a glimpse of how it is at night.
———————

NYC Neighborhood: LES

#5–Above Allen (Thompson Hotel Rooftop)

Address: 190 Allen St
Phone: (212) 460-5300

Above Allen is a swanky LES rooftop spot that often hosts exclusive events. Complete with funky designer couches, Above Allen is a must see at least once on a New York City Summer weekend, even if only as a stop on the nights journey.
———————-

NYC Neighborhood: Midtown

#6–230 Fifth

Address: 230 5th Avenue
Phone: (212) 725-4300

No list of rooftop bars would be complete without mention of the gorgeous 230 Fifth rooftop garden. Though insanely expensive and sorta old, 230 Fifth still gets the job done for the Thursday-Saturday crowd. Check it out one night in the city for a good party but definitely bring a group, its not the most “social” bar per se. (P.S. The lines are long and if you are not wearing a collared shirt and dress shoes its curtains for you…)