byfreak Postado Setembro 9, 2005 Denunciar Share Postado Setembro 9, 2005 pessoal como funciona o sistema de notícias a apple.com? Citar Link para o comentário Compartilhar em outros sites More sharing options...
0 fahledu Postado Setembro 9, 2005 Denunciar Share Postado Setembro 9, 2005 Eu acho que é isso aqui...esta num arquivo esterno <?xml version="1.0" encoding="ISO-8859-1"?> <rss version="0.91"> <channel> <title> Apple Press Releases</title> <link>http://www.apple.com/pr/</link> <description>Press Releases from Apple Computer, Inc.</description> <language>en-us</language> <copyright>Copyright 2003, apple.com.</copyright> <item> <title>Apple Introduces iPod nano</title> <link>http://www.apple.com/pr/library/2005/sep/07ipodnano.html</link> </item> <item> <title>Apple Introduces iTunes 5</title> <link>http://www.apple.com/pr/library/2005/sep/07itunes.html</link> </item> <item> <title>Apple, Motorola &amp; Cingular Launch World&#146;s First Mobile Phone with iTunes</title> <link>http://www.apple.com/pr/library/2005/sep/07rokr.html</link> </item> <item> <title>Over 1,000 Accessories Now Available for iPod</title> <link>http://www.apple.com/pr/library/2005/sep/07ipod_acc.html</link> </item> <item> <title>Apple Teams Up With Acura, Audi, Honda &amp; Volkswagen to Deliver Seamless iPod Experience</title> <link>http://www.apple.com/pr/library/2005/sep/07ipod_auto.html</link> </item> <item> <title>iTunes Music Store Number One in the UK with 80 Percent Market Share</title> <link>http://www.apple.com/pr/library/2005/sep/07itms.html</link> </item> </channel> </rss> dentro do html <div id="hotnews"><a href="/hotnews/"><img src="http://images.apple.com/home/2005/images/hotnews20050429.gif" width="172" height="26" border="0" alt="Hot News Headlines"><img src="http://images.apple.com/home/2005/images/ticke r20050908.gif" width="518" height="26" border="0" alt="Hot News Ticker"></a></div>Abraços Citar Link para o comentário Compartilhar em outros sites More sharing options...
0 byfreak Postado Setembro 17, 2005 Autor Denunciar Share Postado Setembro 17, 2005 mas como funciona isso? a imagem contém o txt da notícia ou como? o que tem a ver o xml com o html ali? Citar Link para o comentário Compartilhar em outros sites More sharing options...
0 fahledu Postado Setembro 19, 2005 Denunciar Share Postado Setembro 19, 2005 Se você reparar na parte do xml, lá contem as freses da noticia em destaque<title>, e o link para a noticia inteira<link>...alem daqueles codigos que coloquei acima tem também esse q esta abaixo, ele se encontra num arquivo externo... <?xml version="1.0" encoding="ISO-8859-1"?> <rss version="2.0"> <channel> <title>Apple Hot News</title> <link>http://www.apple.com/hotnews/</link> <description>Hot News provided by Apple.</description> <language>en-us</language> <copyright>Copyright 2005, Apple Computer, Inc.</copyright> <webMaster>rss-feeds@apple.com</webMaster> <pubDate>Mon, 19 Sep 2005 07:15:00 PST</pubDate> <lastBuildDate>Mon, 19 Sep 2005 07:15:00 PST</lastBuildDate> <category>Apple</category> <generator>In house</generator> <docs>http://blogs.law.harvard.edu/tech/rss/</docs> <item> <title>Golf as Art</title> <link>http://www.apple.com/pro/</link> <description>For many, golf is more than a pastime. For Dent-de-Lion du Midi and his colleagues at Lostball, it&#146;s a source of inspiration for creating high-concept, high-def art &#151; from a feature-length film to custom videos to lithographic prints. [Sep 16, 2005]</description> <pubDate>Fri, 16 Sep 2005 00:00:00 PST</pubDate> </item> <item> <title>Command, Control and Creativity</title> <link>http://www.apple.com/pro/</link> <description>Boasting such clients as Starwood&#146;s Sheraton and Westin Hotels, Novartis Worldwide, Johnson &amp; Johnson and Tommy Hilfiger, Deutsch Inc. is a $2.8 billion marketing communications company with a passion for client service and creative quality. The key to its success? Self-reliance &#151; aided by Apple technology. [Sep 16, 2005]</description> <pubDate>Fri, 16 Sep 2005 00:00:00 PST</pubDate> </item> <item> <title>&#147;iPod&#146;s Law: The Impossible Is Possible&#148;</title> <link>http://www.nytimes.com/2005/09/15/technology/circuits/15pogue.html</link> <description>&#147;Well, he&#146;s [Gene Munster, Piper Jaffray analyst] right about one thing: Apple&#146;s market share won&#146;t stay at 80 percent,&#148; writes David Pogue for the New York Times, &#147;It&#146;s about to go up. If you doubt it, then you haven&#146;t yet handled the iPod Nano: a tiny, flat, shiny wafer of powerful sound that Apple unveiled last week. Beware, however: to see one is to want one. If you hope to resist, lash your credit card to your wallet like Odysseus to the mast.&#148; [Sep 15, 2005]</description> <pubDate>Thu, 15 Sep 2005 00:00:00 PST</pubDate> </item> <item> <title>Coldplay&#146;s EP to Benefit Hurricane Katrina Victims</title> <link>http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewAlbum?s=143441&playlistId=80407619</link> <description>Coldplay, Capitol Records and Apple today released &#147;Fix You,&#148; a digital EP that includes two songs previously unreleased in the US &#151; &#147;Pour Me&#148; and &#147;The World Turned Upside Down&#148; &#151; in addition to two versions of &#147;Fix You,&#148; the band&#146;s new single from the double platinum album &#147;X&amp;Y.&#148; The EP is available exclusively on the iTunes Music Store in the US. [Sep 14, 2005]</description> <pubDate>Wed, 14 Sep 2005 00:00:00 PST</pubDate> </item> <item> <title>Depeche Mode Pre-Sale</title> <link>http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPreorder?id=80044884&s=143441</link> <description>From September 13-26, Depeche Mode fans who visit the iTunes Music Store in the US and pre-order the band&#146;s new album, &#147;Playing the Angel,&#148; will receive a password for the chance to purchase up to four tickets from ticketmaster.com, before tickets go on sale to the general public, for select dates on the band&#146;s 2005 North American tour. [Sep 13, 2005]</description> <pubDate>Tue, 13 Sep 2005 00:00:00 PST</pubDate> </item> <item> <title>Apple Updates Xserve RAID</title> <link>http://www.apple.com/xserve</link> <description>Apple updated its Xserve RAID storage system, a 3U high-availability, rack storage system to deliver a massive 7 terabytes (TB) of storage capacity at the industry&#146;s most aggressive price of just $1.86 per GB. Apple also upgraded its Xserve 1U rack optimized server with up to three 500GB drives, achieving a groundbreaking 1.5TB of storage. [Sep 13, 2005]</description> <pubDate>Tue, 13 Sep 2005 00:00:00 PST</pubDate> </item> <item> <title>iPod nano: &#147;truly a marvel&#148;</title> <link>http://www.cbsnews.com/stories/2005/09/12/scitech/pcanswer/main834003.shtml</link> <description>&#147;From an engineering and design standpoint, the nano is truly a marvel, writes Larry Magid for CBS News. &#147;Apple took advantage of advances in both memory and battery technology to build an incredibly small music player. They also threw in an easy-to-read color display that not only helps you navigate through your music but can also display album art as well as your personal photographs.&#148; [Sep 12, 2005]</description> <pubDate>Mon, 12 Sep 2005 00:00:00 PST</pubDate> </item> <item> <title>iPod nano: &#147;teensy and glossy and perfect&#148;</title> <link>http://www.time.com/time/magazine/article/0,9171,1103572-1,00.html</link> <description>&#147;The Nano is thinner than a pencil and lighter than two bucks in quarters,&#148; reports Lev Grossman for TIME.com. &#147;It&#146;s one-fifth the size of the original iPod that Apple introduced four years ago. It has 4 GB of memory, enough to hold 1,000 songs, and it displays album art and photographs. And as small as it is, the Nano&#146;s got some audio oomph: this mouse can roar. For a device ostensibly created to be listened to, it is suspiciously good-looking. It&#146;s so teensy and glossy and perfect, you want to put it in your mouth like a hard candy.&#148; [Sep 12, 2005]</description> <pubDate>Mon, 12 Sep 2005 00:00:00 PST</pubDate> </item> <item> <title>Review: iPod nano</title> <link>http://www.freep.com/money/tech/mwendland12e_20050912.htm</link> <description>&#147;The iPod nano is the slickest of the already-slick iPod model lineup,&#148; writes Mike Wendland for the Detroit Free Press. &#147;The pictures don&#146;t do it justice. You have to hold it in your hand. It is so slim &#151; about the width of a No. 2 pencil &#151; that the first reaction of everyone I have shown it to has been, &#147;Whoa!&#148; Or something very similar.&#148; [Sep 12, 2005]</description> <pubDate>Mon, 12 Sep 2005 00:00:00 PST</pubDate> </item> <item> <title>Apple at IBC 2005</title> <link>http://www.apple.com/uk/hotnews/articles/ibc/</link> <description>Apple has a significant presence at IBC 2005, which takes place in Amsterdam, September 9-13. With over 45,000 square metres of exhibition space, more than 1,000 exhibitors and some 40,000 visitors, the International Broadcasting Convention (IBC) is Europe&#146;s key annual trade show for media, video and broadcasting professionals. See the photo gallery. [Sep 12, 2005]</description> <pubDate>Mon, 12 Sep 2005 00:00:00 PST</pubDate> </item> </channel> </rss> Ai carinha desculpa não poder ajudar muito, mas do trampo so posso ver os scripts pelo bloco de notas(fora precisar trabalhar hehe ) e fica muito embaralhado... talvez se você abri-lo num DW fique mais facil de entender....Abraços Citar Link para o comentário Compartilhar em outros sites More sharing options...
Pergunta
byfreak
pessoal como funciona o sistema de notícias a apple.com?
Link para o comentário
Compartilhar em outros sites
3 respostass a esta questão
Posts Recomendados
Participe da discussão
Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.