Sunday, 30 June 2013

Absolute vs Relative Paths

Absolute vs. Relative Paths

  1. Absolute and Relative Paths
  2. Exploring Relative Paths
  3. Exploring Absolute Paths
One of the most common things newcomers to Web page creation get confused about is linking to other pages, including CSS files, and referencing images. At the root of the confusion are absolute and relative paths.

Absolute and Relative Paths

An absolute path refers to a file on the Internet using its full URL, e.g. "http://www.uvsc.edu/disted/php/webct/itr/index.php"
A relative path assumes that the file is on the current server, e.g. "php/webct/itr/index.php".

Exploring Relative Paths

Let's look at this in greater detail by examining a hyperlink. We saw hyperlinks in the last lesson, though we didn't really explore how they work. First, we're going to assume that we have a number of folders and files set up for our Web site, such as can be seen here:
If I'm working on the home page, which is "index.html" right at the top, I might write the following hyperlink:
<a href="contact.html">Contact Us</a>
Here we have "contact.html" as the target page I am linking to while "Contact Us" is what the current page displays as the clickable hyperlink. Stop and think: Is this a relative or absolute path?
Answer: relative path. By simply referencing the page's name I am assuming that the "contact.html" file is the exact same folder as the current page. However, if we were to look at the address bar after the "contact.html" page were loaded, it wouldn't just show "contact.html"; it would show the full path, something like: "http://www.yourmomscards.com/contact.html"
Let's say we have a folder called "products" on our Web site: "http://www.yourmomscards.com". Inside the "products" folder we have a file called "lotrtcg.html". The full URL of this page would be "http://www.yourmomscards.com/products/lotrtcg.html".
If I'm working on the home page, "http://www.yourmomscards.com/index.html", how can I use a relative path to link to the "lotrtcg.html" web page? We first have to point into the right folder, then point to the page itself:
<a href="products/lotrtcg.html">Lord of the Rings TCG</a>
Let's say in this "lotrtcg.html" file, we have the following link:
<a href="wowtcg.html">World of Warcraft TCG</a>
If someone clicked that, where do you think it would take them in the site?
It would take them to "http://www.yourmomscards.com/products/wowtcg.html"—assuming that page exists!
Now imagine that you want to link back to the home page of your Web site ("http://www.yourmomscards.com/index.html") from the "wowtcg.html" page. How would you reference that page using relative paths? Well, we have to jump back down out of the "products" folder first, and we do that with "../"
<a href="../index.html">Home</a>
To get more complicated, what if we need to go from "http://www.yourmomscards.com/products/wowtcg.html" to "http://www.yourmomscards.com/events/tournies.html"?
<a href="../events/tournies.html">Upcoming Tournaments</a>
"../" tells the browser to go back a directory, and "events/" directs the browser into the "events" folder before opening the "tournies.html" page.
The "../" is very important in this link because it tells the server to go back a directory, and THEN look for the "events" folder. If you didn't do this, and just used
<a href="events/tournies.html">Upcoming Tournaments</a>
you would have told the browser to try to find "http://www.yourmomscards.com/products/events/tournies.html", which doesn't exist!
By the way, if you needed to go back two directories, you would use "../../" and so on, and so on.

Exploring Absolute Paths

Absolute paths tell the browser precisely where to go. Consider this:
<a href="http://www.fictionals.com/stories/stories.html">Read Stories</a>
It doesn't matter where the browser currently is because you've given them the entire URL, spelling out precisely what Web server, folder, and page to open up.
While this is easier to use and understand, it's not good practice on your own Web site. For one thing, using relative paths allows you to construct your site offline and fully test it before uploading it. If you were to use absolute paths you would have to change your code before uploading it in order to get it to work. This would also be the case if you ever had to move your site or if you changed domain names.

Saturday, 29 June 2013

Google now redirects Picasa Web Albums to Google+ Photos | Internet & Media - CNET News

Google now redirects Picasa Web Albums to Google+ Photos | Internet & Media - CNET News

It's another nail in the coffin for Picasa Web Albums as its URL now brings users to their photo albums on Google+.



Picasa Web Albums is still alive and kicking, though its URL now directs you to Google+.
Picasa Web Albums is still alive and kicking, though its URL now directs you to Google+.
(Credit: Screenshot by Lance Whitney/CNET)

Google is once again trying hard to convince users of Picasa Web Albums to jump over to Google+ Photos.

The URL http://picasaweb.google.com no longer brings you to Picasa Web Albums but instead redirects you to Google+ Photos. As described by the Google Operating System Blog, which is unaffiliated with Google, you have to enter the URL https://picasaweb.google.com/lh/myphotos?noredirect=1 to sneak back into Picasa Web Albums.

You only need to enter that URL once, though. After you use it the first time, Google sets a cookie that turns off the redirection. So you can then go back to using http://picasaweb.google.com to access your Picasa photo album page.

Google has been touting Google+ as the "new home" for your photo albums. The search giant has already replaced Picasa Web with Google+ Photos in the navigation bar and has been redirecting individual photo albums to the Google+ interface, according to the Google Operating System Blog.
Picasa's days have seemed numbered for a while.

Last April, Google disabled the Picasa Web Album Uploader for the Mac and the Picasa Web Albums Plugin for iPhoto. It also put a halt to any future updates for Picasa for Linux. No new features have been added to Picasa Web Albums in general in quite some time.

Meanwhile, Google has been striving to improve the photo features in Google+. Last summer, it added new options that let you view another person's photo albums as a slideshow and download those albums to your computer.

But Picasa Web Albums still packs more photo features than does Google+. So Google may be keeping Picasa alive just long enough for it to bulk up Google+ Photos.
Journalist, software trainer, and Web developer Lance Whitney writes columns and reviews for CNET, Computer Shopper, Microsoft TechNet, and other technology sites. His first book, "Windows 8 Five Minutes at a Time," was published by Wiley & Sons in November 2012.

Stop Picasa Links from Redirecting to Google+

How to Stop Picasa Links from Redirecting to Google+

If you use Google’s Picasa service to share photographs (as I do) and also use Google+, you may be troubled to discover that Google is redirecting links to your Picasa albums to its Google+ social networking service. I find this a dubious business practice that violates Google’s motto, “Don’t Be Evil.” It’s evil because:
  • Picasa users are not informed that their Picasa links will be redirected to Google+;
  • Those without Google accounts cannot download photos at full resolution from privately shared albums on Google+;
  • Google appears to be hijacking users’ Picasa links to promote its Google+ service.
Now, I do like Google+ (you’ll find me thereƂ here), but when I share a link to one of my Picasa albums, I don’t want my friends to be redirected to Google+. Fortunately, there is a solution: add “?noredirect=1″ to the URL. For example, this is the link to my public Picasa albums:

https://picasaweb.google.com/116790950801070160641

Clicking on that link redirects you to my albums on Google+. But the following modified link will not be redirected:

https://picasaweb.google.com/116790950801070160641?noredirect=1

If the link you want to share already includes parameters after a question mark (as will links to privately shared albums), then simply add “&noredirect=1″ to those parameters.

But we shouldn’t have to manually edit Picasa URLs to prevent them from being automatically redirected. Google should fix this by ceasing automatic redirects and offering Picasa users who so desire the option of sharing albums via Google+.
Be Sociable, Share!

Thursday, 27 June 2013

blogger tips: Change Header Size In Blogger

blogger tips: Change Header Size In Blogger

Monday, 8 April 2013

We can increase or decrease header size in blogger blog.It is easy to adjust size of your blog header in blogger.

fallow below steps to change header size in blogger blog

step 1 : go to blogger dashboard

step 2 : click on template

step 3 : click on edit HTML and tick expand widget templates

step 4 : and find below code

/* Header
----------------------------------------------- */
.header-left{
display: inline-block;
height: 30px;
width: 300px;
float: left;
}
.header-right {
display:inline-block;
float:right;
}

and change height and width px value to resize blogger header.if you want increase blogger header increase px value or to decrease blogger header size decrease px value

step 5 : click on save template

Hide blog title and description from header on blogger - blogger tips

blogger tips: hide blog title and description from header on blogger

Wednesday, 10 April 2013

hide blog title and description from header on blogger

How to hide blog title and description from header on blogger:

We can delete or hide blog title and description from blogger blog header.With out adding any CSS code we can easily delete blog title and description from blogger header. 

fallow below steps to hide blog title and description from blogger header 

step 1 : go to blogger dashboard

step 2 : click on template

step 3 : click on edit template and tick expand widget templates box

step 4 :
To Delete blog title
search for below code

.Header h1 {
  font: $(header.font);
  color: $(header.text.color);
  text-shadow: 0 0 $(title.shadow.spread) #000000;

 and add  display:none; after above code to delete blog title. 

To Delete blog description
 search for below code

.Header .description {
  font: $(description.font);
  color: $(description.text.color);

 and add  display:none;  after above code to delete blog description

 step 5 : click on save template.

Wednesday, 19 June 2013

How Web Designers can Transition into Coding

How Web Designers can Transition into Coding

By Jake Rocheleau, 17 June, 2013 & filed under Design
Getting started as a web designer requires weeks or even months of practice and dedication. There are so many unique aspects in designing graphics for the web, you may often feel out of place. But one step towards feeling more comfortable as a designer is to advance your own development skills.

Having the ability to design PSDs and then code the design into a site layout is a huge benefit. You won’t need to rely on another web developer to work out your HTML5/CSS3. Plus right after designing a website layout in Photoshop you’ll be able to bring that work to life. It’s truly a skillset that requires time – but ultimately it will improve your knowledge and control on the web.

Do Some Initial Research

This first step is crucial for building a foundation as a web developer. I recommend hitting Google and searching for articles related to HTML5 web development. You should learn how to read HTML documents and understand the different tags, attributes, and general structure for pages.
Even if you spend time looking at other designs, you’ll gain a sense of ambition for your own work. Developers are often happy to share their code as open source for other developers to learn from. And with websites all the HTML/CSS is right there accessable from any web browser.

MLK Library research HTML5/CSS3 books
If you are already at a point where you understand HTML tags then you’ll be ahead of the curve. This initial research is just to get yourself familiar with setting up a document and how to structure a page layout. This is the easiest step because it doesn’t require any coding work – just some patience to go through and look into areas where you’re confused.

Practice Projects

Obviously the next step in making your transition is to create practice websites. This is an excellent time to combine both your design skills with practicing new development techniques. Try creating a simple webpage layout in Photoshop and then coding this into HTML5 markup.
You could use one of many online code IDEs such as jsfiddle or cloud9. With these webapps you won’t need to use desktop software as a development suite. Although if you are more comfortable building locally there are plenty of free open-source apps to choose from. But in my opinion creating practice websites online is much easier if you don’t mind having the code hosted elsewhere. It grants you the ability to demo the website right from within your browser window.

Working on a MacBook developing JSFiddle
By jumping into coding your own practice layouts you’ll learn some of the common beginner mistakes. A lot of these have to do with CSS positioning such as floats, multi-column layouts, and relative/absolute positioning. There are also lots of browser quirks to deal with between Gecko, Webkit, and Internet Explorer. But the only way to learn about these issues is through trial and error.

Finding Support

When you inevitably run into a wall that you just can’t solve there is no reason to stress yourself out. There will be plenty of times when you run into problems with CSS or even frontend JavaScript and no matter how long you stare at the code, you aren’t finding solutions. I have to recommend joining the greatest support community Stack Overflow.
You can search through existing questions if you think your problem is fairly common. Instead of using their default search you could alternatively punch keywords into Google and limit results to the StackOverflow.com domain. I’ve solved countless issues through the community and you can meet some really intelligent people along the way.

Drupal Coder Sprint California 2010
But even if you can’t find the direct answer to your question there’s always the option of posting a new help thread. Members of Stack gain points and reputation as they answer questions and get upvotes. There is incentive for skilled developers to help out newcomers because they’re gaining a stronger hold in the community – plus they’re helping solve related problems! Everybody wins and it’s a great community for newer web developers. There is also the newer Graphic Design Exchange which can answer questions about web graphics, backgrounds, patterns, and other Adobe Photoshop/Illustrator stuff.

Grinding and Pushing Forward

After the first few practice projects you’ll likely run into enough issues to learn from. After you’ve gained some solid techniques to quickly finish sample projects then you should set your sights on full website layouts. These could be static HTML or you could even move into CMS themes such as WordPress or Drupal. But note these often require a small handle on PHP, so understand that theming is not for the faint of heart.
With a combination of design & development techniques you’ll want to eventually focus in one area. Designers tend to spend a lot more time in graphics software such as Adobe Fireworks and Photoshop. If this is where your true interest lies then stick with it! Having the frontend dev skills to code your layouts is just one of the benefits to learning HTML5/CSS3.

ColdFusion CFMX Flex Web Developers Conference 2006 Bethesda
But if you really enjoy the development aspect it may be a chance to move into more convoluted languages. JavaScript/jQuery is the most heavily supported scripting language across all modern browsers. I would have to recommend this as the next step up from creating static HTML/CSS web pages. However it’s not even in the same level as HTML markup or CSS styles, so be warned it’ll be tough to get started.
However I can think of plenty great frontend user interface developers who also cater towards designing killer web graphics. There’s no reason a person can’t possess both sets of skills and do their job perfectly. It just requires some dedication and a lot of hard work. But even after a few months’ time you should be in a much stronger position as a web designer and developer.

Final Thoughts

I hope this article can get you thinking about a few ways to improve your development skills. Starting with a background in Photoshop it may be daunting to move into frontend dev languages. But it’s a useful skillset to not be relying on others for support.
The best way to get started is by going through tutorials online related to HTML5 and CSS3 web development. It will not come to you overnight, but with enough practice you’ll be churning out layouts quicker than you can design them. And as you practice on more layouts you’ll begin to feel a lot more confident with your work quality. If you have any questions or related advice feel free to share with us in the post discussion area below.

Author:

Jake is a digital researcher and writer on many popular design magazines. He frequently writes on topics including web design, user experience, mobile apps, and project management. You can find him all throughout Google and tweeting @jakerocheleau. Connect with Jake on google+

Monday, 17 June 2013

How To Embed And Display RSS Feeds On Any Web Page: Best RSS-To-HTML Publishing Tools

How To Embed And Display RSS Feeds On Any Web Page: Best RSS-To-HTML Publishing Tools








Best RSS-To-HTML Publishing Tools Comparison Table





Best RSS-To-HTML Publishing Tools

  1. Grazr



    Grazr is a free tool that allows you to embed and display RSS feeds onto any web page or social media sites. Grazr creates a customizable JavaScript-based widget with RSS feeds URLs you copy and paste into the dedicated editor. You can also drag&drop feeds and update your widget very easily. OPML files importing is fully supported.

    http://www.grazr.com/




  2. Bitty Browser



    Bitty is a free embeddable browser that allows you to have a navigable window inside your own web site or any social media site. Bitty can display web sites, RSS feeds, podcasts, and more. If you want Bitty to display a RSS feed of your choice, just paste the URL (OPML files are also supported) inside the browser and then embed the code wherever you like. You can also customize some limited options on how the browser will be shown on web pages.

    http://www.bitty.com/




  3. Feedroll Pro



    Feedroll Pro is a web-based service you can use to build, display, and embed RSS feeds onto your web pages or social media sites. Just register to the site and purchase the service (first month is free) for $14.95/month. Feedroll Pro creates a JavaScript widget with RSS feeds (OPML importing is supported) and then provides you with a piece of code you can customize and embed wherever you like.

    http://www.feedrollpro.com/




  4. Feedroll RSS Viewer



    Feedroll RSS Viewer is a free tool to create, embed and display a feed onto your web site or social media sites. Feedroll uses a customizable JavaScript-based widget to publish RSS feeds. OPML importing is not supported, and you can just select among a fixed range of news feeds, but not displaying a feed of your choice.

    http://www.feedroll.com/rssviewer/




  5. Feedo Style



    Feedo Style is a web-based tool to create a widget out of an RSS feed. Once you input a single RSS feed of your choice, a JavaScript widget will be created and you can embed it on your blog or preferred social media site. If you want extensive customization features or have Feedo Style manage multiple feeds, you can purchase one of the advanced pricing plans, starting at $4.99/month. OPML importing never possible.

    http://www.feedostyle.com/




  6. Google Gadget Builder



    Google Gadget Builder is a free tool that allows you to create a gadget that will displayed on iGoogle homepages. You can freely customize your gadget to display RSS feeds and then also promote and monetize it via AdWords. No OPML importing features. Embedding is limiting to iGoogle homepages, so personal web pages or social media sites are excluded.

    http://tinyurl.com/cx9h7s




  7. Google Dynamic Feed Control Wizard



    Google provides a free service to embed a dynamic feed control on your web page and let your users see customized views of the feeds. You can freely customize the way the dynamic feed control should be displayed, and then simply copy and paste the Ajax-based code onto your web site or iGoogle homepage. No OPML importing feature or social media integration features supported.

    http://tinyurl.com/3jemrf




  8. Blidgets



    Blidgets are free JavaScript widgets that display the content of an RSS feed, and can be embedded on any web page or social media site. Widgets can be completely customized. OPML importing not available. If you need advanced features like the video playing facility or display tabs inside your widget, you can upgrade to Blidget Pro for $3.99/widget.

    http://docs.widgetbox.com/developers/blidget/




  9. Feed Informer



    Feed Informer is a powerful tool to embed and display RSS feeds in any web page. Free to use, Feed Informer provides you with a customized feed digest in HTML, PHP, Flash, JavaScript, ASP, or JPG and PDF files. Social media integration is fully supported, as well as the possibility to import multiple feeds at once using an OPML file.

    http://feed.informer.com/




  10. WebRSS



    WebRSS is a free tool that allows you to display a RSS feed on your web site. RSS can be converted to HTML, PHP, ASP, or JavaScript widgets and easily customized to match the look and feel of the web site. Embedding on social media is not supported, and OPML files cannot be imported into WebRSS.

    http://www.webrss.com/




  11. Optimal Widget Generator



    Optimal Widget Generator is a very essential tool to build a widget that displays a RSS feed of your choice, and embed it on any web page. Completely free to use, Optimal Widget Generator can customize only the dimension of your widget but not the appearance. Widget can be embedded using IFRAME tag. OPML file importing is fully supported, but social media integration is not possible.

    http://optimalbrowser.com/widgetwiz.php




  12. Yourminis



    Yourminis provides a free, web-based tool to create a Flash widget out of a single RSS feed. You can then embed the widget on any web page or social media site copying and pasting a piece of code. You can freely customize appearance and dimensions of your widget, but not importing an OPML file.

    http://tinyurl.com/5jfvaz




  13. FeedForAll



    FeedForAll is a software available for Mac and Pc that lets you create, edit, and syndicate RSS feeds and podcast right from your machine. RSS feeds are displayed in HTML format and are easily customizable and embeddable on any web page or social media. OPML importing is not supported. FeedForAll costs $34.95 for a single license on both platforms.

    http://www.feedforall.com/free-php-script.htm




  14. CaRP Evolution



    CaRP is a PHP script that lets you generate RSS feeds for your web page. CaRP comes in two different versions: LE (basic) and Evolution (enhanced). The LE version allows no control on the appearance of your feeds, while the Evolution version comes with sixteen free bonus plugins to let you customize your RSS-generating experience: auto-update feeds, add images, embed videos, select which part of the text you want to show, sort your feeds, and much more. CaRP LE is free and CaRP Evolution is priced at $47. Registration required for both.

    http://www.geckotribe.com/rss/carp/




  15. RSS2HTML



    RSS2HTML is a free tool that allows you to publish a RSS feed on your web site. Just customize the JavaScript widget RSS2HTML will create for you, paste the URL of a RSS feed of your choice, and then copy the code to your web pages. Embedding on social media sites or importing OPML files are not supported.

    http://www.rss2html.com/




  16. RSSinclude



    RSSinclude is a free tool from RSS-Info.com that allows you to create a widget and display the content of a RSS feed inside it. Widget can be embedded with JavaScript code, PHP code or using an IFRAME tag on any web site or social media. OPML importing facility is not available but feed customization is supported.

    http://www.rss-info.com/en_rssinclude-simple.html




  17. Free RSS to HTML PHP Script



    The free RSS to HTML PHP script is a tool from FeedForAll that allows you to embed a RSS feed inside a web page or social media site for viewing with a regular browser. The advantage of such solution is having pure, auto-updating HTML code which is indexed by search engines. Installation instructions included in the .ZIP file available for free download.

    http://www.feedforall.com/free-php-script.htm




  18. Shyftr



    Shyftr is a brand new RSS-to-HTML tool that allows you to create, embed and display a RSS feed on a web page through a JavaScript-based widget. The widget is fully customizable and brandabale. Shyftr lets you also merge multiple RSS feeds into a customized one, which you can later syndicate or embed on your web site. OPML importing and social media integration are unsupported for the time being.

    http://www.shyftr.com/

Link: http://www.masternewmedia.org/how-to-embed-and-display-rss-feeds-on-any-web-page-best-rss-to-html-publishing-tools/#ixzz2WTZqtBDw