If you read an article or book which cites some information that you want to cite, always refer to the source where you found the information, not the original source. For example:
Sue reads an article by Alex Byrne in the Australian Library Journal in which he cites or refers to statements made by Tim O'Reilly on his website at http://www.oreillynet.com/pub/a/oreilly/tim/news/2005/09/30/what-is-web-20.html Sue wants to refer to O'Reilly's statement in her assignment.
Sue would acknowledge O'Reilly in her text but her reference is to the source where she saw the information. Sue might write as her in-text reference:
In her reference list Sue would write a reference for Byrne's article because that's where she sourced the information. The entry in her References would be: