Guest User

Untitled

a guest
Feb 11th, 2014
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. Revised Scope
  2.  
  3. 1. Script will once a day go to http://www.clublandlv.com/forum.php
  4. 2. Script will access the database named “clublandlv”
  5. 3. From here the script will create the “genres_main” table (If it does not exist.)
  6.  
  7. “genres_main” table
  8. id: integer (auto increment)
  9. genre_name: string
  10. genreforum_id: integer
  11.  
  12. 4. The script will insert the “genre_name” as well as the unique ”genreforum_id”, and check for any added forums.
  13. If there have been forums added, the script will write a new row for that forum.
  14.  
  15. 5. Create a “subgenres_main” table.
  16.  
  17. “subgenres_main” table
  18. id: integer (auto increment)
  19. genreforum_name : string
  20. subgenre_name: string
  21. subgenreforum_id: integer
  22. start_run : integer
  23. end_run : integer
  24.  
  25. 6. Create a table for each separate subgenre, based on the “genreforum_id” (If it does not exist.)
  26.  
  27. “subSUBGENRENAME” table
  28. id : integer (auto increment)
  29. subgenre_name : string
  30. subgenre_id: integer
  31. genrefoum_id: integer (foreign key)
  32. post_id :integer
  33. post_title : string
  34. zippy_url : string
  35. healthy : Boolean
  36. dl_timestamp : integer
  37. post_timestamp : integer?
Advertisement
Add Comment
Please, Sign In to add comment