Archive for the ‘family’ Category

PHP RSS Family Photo Subscription Feed

Friday, November 3rd, 2006

I have just put the finishing touches on this. It is a php-based RSS feed. If you don't know what that is, you might want to stop reading here. Otherwise, I'm writing this to share with anyone who cares. What I've done is written a php file that searches in a directory for photos and builds an rss file out of the entries. The code sorts the images based on their modified date, such that the most recent entries appear first. I use this modified date in the <pubDate> tag on the RSS, as well.

The file is called rss.php:

PHP:
  1. function searchdir ( $path , $maxdepth = -1 , $mode = "FULL" , $d = 0 )
  2. {
  3. if ( substr ( $path , strlen ( $path ) - 1 ) != '/' ) { $path .= '/' ; }
  4. $dirlist = array () ;
  5. if ( $mode != "FILES" ) { $dirlist[] = $path ; }
  6. if ( $handle = opendir ( $path ) )
  7. {
  8. while ( false !== ( $file = readdir ( $handle ) ) )
  9. {
  10. if ( $file != '.' && $file != '..' )
  11. {
  12. $file = $path . $file ;
  13. if ( ! is_dir ( $file ) ) { if ( $mode != "DIRS" ) {
  14. $dirlist[$file] =date ("Ymd H:i:s", filectime($file));
  15.  
  16. } }
  17.  
  18. elseif ( $d>=0 && ($d <$maxdepth || $maxdepth <0) )
  19. {
  20. $result = searchdir ( $file . '/' , $maxdepth , $mode , $d + 1 ) ;
  21. $dirlist = array_merge ( $dirlist , $result ) ;
  22. }
  23. }
  24. }
  25. closedir ( $handle ) ;
  26. }
  27. if ( $d == 0 ) { arsort($dirlist);}//natcasesort ( $dirlist ) ; }
  28. return ( $dirlist ) ;
  29. }
  30. function makeDate($dateIn) {
  31. $year = substr($dateIn, 0, 4);
  32. $month = substr($dateIn, 4, 2);
  33. $day = substr($dateIn, 6, 2);
  34. $hour = substr($timestamp, 8, 2);
  35. $min = substr($timestamp, 10, 2);
  36. $sec = substr($timestamp, 12, 2);
  37. return date('D, d M Y H:i:s O', mktime($hour, $min, $sec, $month, $day, $year));
  38. }
  39. $imglist = searchdir('/home/sroberso/public_html/family/',-1,'FILES',0);
  40.  
  41. header('Content-Type: application/xml');
  42. ?>
  43. <link />http://family.robersonsoftware.com/ Check out the latest pictures of our family.
  44. en-us Wed, 25 Oct 2006 00:00:00 -0500 Wed, 01 Nov 2006 00:00:00 -0600
  45. Weblog Editor 2.0
  46. scottroberson@tempinbox.com
  47. scottroberson@tempinbox.com
  48. //$counter = 0;
  49. foreach ($imglist as $img=>$time) {if (strpos($img,"sm.jpg")>0) {
  50. $img = str_replace("'","'",$img);
  51. $img = str_replace("(","(",$img);
  52. $img = str_replace(")",")",$img);
  53. $img = str_replace(" ","%20",$img);
  54. $imgsm = substr($img,strlen('/home/sroberso/public_html/family/'));
  55. $imglg = str_replace("_sm","",$imgsm);
  56. //$counter++;
  57. echo "\n";
  58. echo "\t\n";
  59. echo "\t
  60. <link />http://family.robersonsoftware.com/".$imglg."\n";
  61. echo "\t".'&lt;a xhref="http://family.robersonsoftware.com/'.$imglg.'" mce_href="http://family.robersonsoftware.com/'.$imglg.'"  border="0" title="View Pic"&gt;&lt;img xsrc="'.$imgsm.'" mce_src="'.$imgsm.'"  border="0" /&gt;&lt;/a&gt;'."\n";
  62. echo "\t".''."\n";
  63. echo "\t ".makeDate($time)."\n";
  64. echo "\n";
  65. }
  66. }
  67. ?>

Genealogy

Tuesday, May 30th, 2006

I received a genealogy chart made by my great-Aunt Margaret McCurdy back in 1998. She went out to Salt Lake City to the Family History Library, a place with over 2.4 million rolls of microfilmed records. Over the years, I've been searching online to fill in missing pieces- birth dates, locations, etc.

Last week, I tried again.

I had a reference to a Philip Tipping and in searching for him, I ran across RootsWeb. There, I was able to find a page related to Philip Tippin, a Revolutionary War Captain from Queen Anne, MD. I also found a page by a man in England entitled, Descendents of William Tipping, Esquire, who was born in 1470 in Tipping Hall, County Lancaster, England. His descendents were traced downward.

I found Philip Tippin at generation 8. He lived in a few places before settling in Tattnall County. Tattnall County was a happening place around that time as several of my kin hail from there. I gather when a new county was created, land grants were awarded to soldiers.

I am also related to Michael McKinzie Mattox, from Tattnal County, as well as Edward Kennedy, who immigrated to Tatnall County from Scotland in 1820.

On my mother's side, I found information about Gwendolyn Hammond Whitmore. The Whitmore line can be traced back to her great-grandfather, George Washington Whitmore, from Rockbridge County, Virgina, where everyone else was from. But, through her great-grandmother, Margaret Jane HUFFMAN, we can trace the line back to her great, great-grandmother, Anna Catharina RHEINBERGER, who was born in 1693 in Otterberg, The Palatinate, which according to this Wikipedia page, is a "historical territory of the Holy Roman Empire known as the Palatinate of the Rhine or Electoral Palatinate." So, they hail from the Rhine valley of Germany.

Perhaps I'll do some research today regarding the Fix line (GenGen's married name). I didn't find anything on the RootsWeb search page for a Clarence Fix, but if I can find out his mother, father, brother, or something, perhaps it'll come up.

UPDATE:

Using Roy Fix as the name of my maternal great grandfather, I found this entry for a Roy McFaddin FIX (b: 19 FEB 1880 in Rockbridge, VA) from Rockbridge, VA, which seems right.  He was one of 12 brothers and sisters.

I also found this page that says that Christian FIX, Roy's grandfather who was married to Sarah SWOOPE,  also had a child named Clamenza Clementine FIX (b: ABT 1859 in Rockbridge Co., Va).  She married Lucian A. HARTIGAN (b: 1851 in Rockbridge Co., Va) and had a mess of kids (12!) with the surname of HARTIGAN.

What the heck was in the water in Rockbridge County?