22.04.2013 Views

HTML, XHTML & CSS

HTML, XHTML & CSS

HTML, XHTML & CSS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 15: Bring the Best of the Web to Your Web Site<br />

For more Twitter widgets, check out http://twitter.com/widgets.<br />

There, you’ll find various widgets that work on general Websites (My<br />

Website) and on Facebook. These include additional items such as a search<br />

widget, a faves widget, and a list widget to let users look for tweets, show off<br />

their favorites, or list specific tweet items on a page.<br />

You can always check out our Twitter page to stay up to date with what we<br />

are doing with this book, or send us questions or comments.<br />

Working with Flickr<br />

In our opinion, and that of many other experts and aficionados, Flickr is one<br />

of the best online photo management and sharing applications around. One<br />

of its greatest features is that you can easily upload and aggregate photos,<br />

create your own slide shows, or even share your photos in an automated<br />

slide show. Why are we telling you all this? Because you can also embed<br />

Flickr photos into your own Web pages.<br />

Yahoo! owns Flickr so all you need is a Yahoo! ID and password to log in. If<br />

you don’t have one, you must create a Yahoo! Account before you can use<br />

Flickr. (Yahoo! Accounts are free and available to the general public, with<br />

no hidden gotchas involved.) We skip over the account stuff and assume<br />

that you can log in without our help. Then, after you log in and upload some<br />

photos, you can view your photostream, as shown in Figure 15-3.<br />

Click Slideshow, the hyperlinked gray text at the upper-right corner of the<br />

Flickr window, right under the Search box (see Figure 15-3). Upon clicking<br />

this item, you go to a new page that displays larger scaled versions of photos<br />

from the photostream. These photos auto advance through the entire collection<br />

but also provide various controls. For example, you can jump around<br />

those photos by clicking on any thumbnail image, pause the slide show at<br />

any time, or make the images show in full screen mode.<br />

Undoubtedly, this is good stuff. Given a gaggle of snaps, you can send a link<br />

to your friends and family so they can enjoy them, too. But here, our concern<br />

is to explain how to embed a Flickr photostream on your site. As with<br />

Twitter, that process is both simple and easy. Here’s how you do it:<br />

1. Click the Share This menu item at the top right.<br />

Make certain you do this while the slide show is playing.<br />

2. Click the Copy to Clipboard button under the Grab the Embedded<br />

<strong>HTML</strong> text box.<br />

3. Open your target Web page and paste the object element from the<br />

Clipboard inside the body section of that page.<br />

It’s easy! Check it out at www.dummieshtml.com/examples/ch15/<br />

flickr.<br />

255

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!