Zdravo,
ja sam student na IT faklutetu ali jos nisam dovoljno razvio svoje vestine da mogu da pronagjem sve sto mi treba oko nekih moi sitnih proekta.
Ovako,dok studiram poceo sam da radim za marketin sluzbu,tamo sam dobio rabotu da pravim neke reklame u HTML formatu.
E sada,ja sam napravio prostu web aplikaciju u asp.net c# u koje ja unosim 5 slike sa web sajtom,opis oko apartmana,komentar ,cena,broj sobe,link koji je strana,kao i koji dodatci ima taj apartman.
Sada bi zeleo da mogu da napravim program koji bi uzimao sam podatce sa tom web sajtom (evo ga :
http://www.airbnb.com/rooms/269080),na primer da unesem samo text polje na koje mogu da upisem web stranicu i od nje program sam da napravi .txt fajl na koji bi imalo podatke koje mi treba ,ne celi sorce file sa web sajta.
Evo kako bi trebalo da mi bude .txt fajl sa HTML kodom unutra :
<table width="100%"><tbody><tr><td align="left"><div><table><tbody><tr><td valign="top" width="475"><div><a
href="
http://airbandb.com/rooms/269080?af=654702&c=direct_link"rel="nofollow"><img alt="Garden Flat-Parking available " height="330"
src="
http://a2.muscache.com/pictures/2690374/large.jpg" width="445"></a></div><br><table><tbody><tr><td width="108"><a href="
http://airbandb.com/rooms/269080?af=654702&c=direct_link" rel="nofollow"><img alt="Large" height="144"
src="
http://a1.muscache.com/pictures/2690346/large.jpg" width="216"></a></td><td width="108"><a href="
http://airbandb.com/rooms/269080?af=654702&c=direct_link" rel="nofollow"><img alt="Large" height="144"
src="
http://a2.muscache.com/pictures/2690339/large.jpg" width="216"></a></td></tr><tr><td width="108"><a href="
http://airbandb.com/rooms/269080?af=654702&c=direct_link" rel="nofollow"><img alt="Large" height="144"
src="
http://a0.muscache.com/pictures/2690369/large.jpg" width="216"></a></td><td width="108"><a href="
http://airbandb.com/rooms/269080?af=654702&c=direct_link" rel="nofollow"><img alt="Large" height="144"
src="
http://a0.muscache.com/pictures/2690369/large.jpg" width="216"></a></td></tr></tbody></table></td><td valign="top"><div><b><font size="6">
Apartment - Entire home/apt
</font></b></div><br><table><tbody><tr><td width="135" valign="top"><div><b><font size="6">
155 / night
</font></b>
</div><div>per night </div></td><td width="200" valign="top"><font size="2"><ul><div>Includes:</div>
<li>Pets Allowed</li><li>TV</li><li>Cable TV</li><li>Internet</li><li>Wireless Internet</li><li>Air Conditioning</li><li>Heating</li><li>Elevator in Building</li><li>Handicap Accessible </li><li>Pool</li><li>Kitchen </li><li>Parking Included</li><li>Gym</li><li>Hot Tub</li><li>Family/Kid Friendly</li><li>Washer </li><li>Dryer</li> </ul>
</font></td><td width="125" valign="top"></td><td width="115" valign="top"></td></tr></tbody></table>
<div><b><font size="5">Description</font></b></div><div>
<font size="2">
Ultra chic luxury and spacious one bedroom apartment, right next to Renaissance Hollywood Hotel at community situated on one of the most renowned and historic city blocks in Los Angeles. Located on the Walk of Fame, the apartment building is brand new.
This 1 bedroom ultra chic vacation home is located on the top floor, getting sunlight throughout the day, and has a downtown skyline and Hollywood Hills view.
Dining area for 6 people, comfortable sofa, work desk, breakfast bar.
42 inch HDTV with Time Warner Cable, Unlimited Nationwide Calls, Fast Broadband Wireless Internet.
Coffee machine, toaster and other kitchen amenities to make yourself comfortable.
Queen size bed and walk in closet in bedroom.
Gym with high quality and stainless steel equipments, branded cardio and weight equipment, jacuzzi, heated pool on site.
Business center and conference rooms available.
24 hour security. Concierge during day time.
<a href="
http://airbandb.com/rooms/269080?af=654702&c=direct_link"rel="nofollow">Read full description</a></font></div><br><div><b>
<font size="5">Recent review</font></b></div><div>
<font size="2">
Very nice apartment. Clean and well maintained. A lot of amenities are provided. Meet and greet was friendly and there before us. Having parking was very convenient. Walking distance to a lot of attractions and short drive to basically everything else. Really enjoyed our stay here.</font>
<font size="2">
New York, NY
<br /><br /><br />
<big><a href="
http://airbandb.com/rooms/269080?af=654702&c=direct_link"rel="nofollow">Click here to book</a></big>
</font></div></td></tr>
</tbody></table></div></td></tr></tbody></table>
Zamoli bi vas ako moze neko da me uputi sta tacno treba da uradim .Pokusao sam sa StreamReader i StreamWriter ali nemogu nikako da podesim program da mi sam izbira koji stvari mi trebaju ,nego samo program mi uzima ceo sorce file i ubaci u .txt dokument.Ako treba mogu i da ubacim i cod sa programa koji koristim sad koj hocu da smenim sa necim laksijem.
Pozdrav i hvala unapred.