![]() ![]() |
| |||||||||
| Hotspots: Slides and Code TA Corner Comments? Announcements FAQ Static Webspace | ||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| Good – #3 and #4 could be expanded a bit. What does it mean to generate stories to the webpage? What do keywords have to do with anything on news.google? Mark Guzdial |
| Think about the process – the headlines come first, then the keywords. News.google.com programmers don't decide what the important keywords are first. Instead, they get the headlines, then figure out what are the common words so that similar headlines are clumped. Mark Guzdial |
| Right, but then, how does the HTML get generated? If you go to http://www.cnn.com, you'll find an HTML page. How did that get there? Mark Guzdial |
| The HTML is generated by some external program (maybe in Python), but pulling information from the database. Just like we did when we inserted a headline and story into our home page. Some databases may have programming languages so that you can do the HTML generation from there, too, but more typically, you'd use languages like Perl, PHP, JavaScript (on the server side), or even, PYTHON! Mark Guzdial |