Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: [wp-hackers] Help on code flow

  • To: wp-hackers@xxxxxxxxxxxxxxxxxxxx
  • Subject: Re: [wp-hackers] Help on code flow
  • From: Roy Schestowitz <r@xxxxxxxxxxxxxxx>
  • Date: Mon, 25 Dec 2006 17:11:16 +0000
  • Delivery-date: Mon, 25 Dec 2006 17:11:21 +0000
  • Envelope-to: s@schestowitz.com
  • In-reply-to: <20061225123757.14095.qmail@web54112.mail.yahoo.com>
  • References: <20061225123757.14095.qmail@web54112.mail.yahoo.com>
  • User-agent: Internet Messaging Program (IMP) H3 (4.1.3)
___/ On Mon 25 Dec 2006 12:37:57 GMT, [ sai krishna ] wrote : \___


Im Sai Krishna. I was trying to understand the code flow and various functions that were used in the entire wordpress. Im using wordpress 2.0 on a windows with apache system though server is of Linux. Im writing an API that comes with some kind of xml tags

Can anybody help me in letting me know the how this code flow went. Though I was able to insert the data into database through postie, I was unclear how the reading of data is happening i.e displaying of data on the blog

I went through your documentation but it was not so helpful. I can promise you of atleast helping in you in the documentaion of functions list which I found quiet helpful


Your  question  is  very broad, but perhaps I can  help.  It
sounds  as though your main problem involves the  insertion,
use,  and display of some data which you have stored in  XML
form.  You  accommodate  the database, but you  can't  quite
manage  to 'pull' the information out of it (please  correct
me  if  there's a misconception here). I suggest  you  start
from the core function which displays content...

  roy@BAINE:~/public_html/wordpress> cat index.php
  /* Short and sweet */
  define('WP_USE_THEMES', true);

Following through to ./wp-blog-header.php


  if (! isset($wp_did_header)):
  if ( !file_exists( dirname(__FILE__) . '/wp-config.php') ) {
        if ( strstr( $_SERVER['PHP_SELF'], 'wp-admin') ) $path = '';
        else $path = 'wp-admin/';

Just follow the trail of PHP files and use the documentation in the WordPress Codex < http://codex.wordpress.org/Main_Page >. With the API's, you will not need to intimately know the code. It will help you understand how each function works, what purpose it serves and how to override it.

Best wishes,


Roy S. Schestowitz
http://Schestowitz.com  |  GNU/Linux  |     PGP-Key: 0x74572E8E
http://othellomaster.com >> GPL-licensed 3-D Othello
http://iuron.com >> proposing an Open Source, non-profit search engine
Open Source journalism contributer @ http://newassignment.net
Joint Editor @ http://boycottnovell.com

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index