<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content=text/html;charset=Windows-1252>
<META content="MSHTML 6.00.6001.18099" name=GENERATOR></HEAD>
<BODY id=MailContainerBody
style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-TOP: 15px"
bgColor=#ffffff leftMargin=0 topMargin=0 CanvasTabStop="true"
name="Compose message area">
<DIV>Simple job.</DIV>
<DIV>I want to use the dynamic navigation generated by wordpress outside of my
wordpress directory.</DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Simply put I am going to use phpmotion for my video
portion of my website, but want the website to use the navigation from wordpress
above the navigation for phpmotion.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I do NOT want to hardcode the navigation from
wordpress on my phpmotion side as wordpress is dynamic in it's navigation.
Meaning if I add a page to wordpress it automaticallly shows up on the
navigation bar. If I hardcode it, then everytime I add a page I have to go and
update it. That sucks.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm not a coder but I am guessing that all is
necessary is </FONT></DIV>
<DIV><FONT face=Arial size=2>1. a call in my other programs header to a 'config'
file of sorts that defines the wordpress variables I am going to
use.</FONT></DIV>
<DIV><FONT face=Arial size=2>2. a hook to the wordpress db so it can define the
variables</FONT></DIV>
<DIV><FONT face=Arial size=2>3. a way of printing out that information to use in
my other programs.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Make sense?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm not sure if it will paste here or not, but here
is the navigation code from wordpress that I want to use in it's entirety.
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>If this job makes sense and anyone is interested
please let me know. </FONT></DIV>
<DIV><FONT face=Arial size=2>Thank you</FONT></DIV>
<DIV><FONT face=Arial size=2>Shawn</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><div id="wrap"></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> <div
id="topnavbar"><BR> <BR> <div
class="topnavbarleft"><BR> <p><script src="<?php
bloginfo('template_url'); ?>/javascript/date.js"
type="text/javascript"></script></p><BR> </div></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> <div
class="topnavbarright"><BR> <p><a href="<?php
bloginfo('rss_url'); ?>"><img style="vertical-align:middle"
src="<?php bloginfo('template_url'); ?>/images/rss.gif" alt="Subscribe to
<?php bloginfo('name'); ?>" /></a><a href="<?php
bloginfo('rss_url'); ?>">News Feed</a><a href="<?php
bloginfo('comments_rss2_url'); ?>"><img
style="vertical-align:middle;margin-left:10px;" src="<?php
bloginfo('template_url'); ?>/images/rss.gif" alt="Subscribe to <?php
bloginfo('name'); ?>" /></a><a href="<?php
bloginfo('comments_rss2_url');
?>">Comments</a></p><BR> </div></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> </div></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><div id="header"></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> <div
class="headerleft"><BR> <a href="<?php echo
get_settings('home'); ?>/"><img src="<?php bloginfo('template_url');
?>/images/logo.gif" alt="<?php bloginfo('description'); ?>"
/></a><BR> </div><BR> <BR> <div
class="headerright"><BR> <h3>Search the
website</h3><BR> <form id="searchform" method="get"
action="<?php echo $_SERVER['PHP_SELF']; ?>"><BR> <input
type="text" value="Type keywords and hit enter..." name="s" id="s-head"
onfocus="if (this.value == 'Type keywords and hit enter...') {this.value = '';}"
onblur="if (this.value == '') {this.value = 'Type keywords and hit enter...';}"
/></form><BR> </div></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></div></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><div id="navbar"></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> <ul
id="nav"><BR> <li><a href="<?php echo
get_settings('home');
?>">Home</a></li><BR> <?php
wp_list_pages('title_li=&depth=2&sort_column=menu_order');
?><BR> </ul><BR> <BR></div></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><div id="subnavbar"><BR> <ul
id="subnav"><BR> <?php
wp_list_categories('sort_column=name&title_li=&depth=2');
?><BR> </ul><BR></div></FONT></DIV></BODY></HTML>