Set On the Pathway To Success

Issue #18 - Pathway To Success
Volume 8, Issue #18, 7th Sept 2008

Published since 2000, Subscriber Count: 138,500+

Add to My AOL Add to Your MSN Add to My Yahoo! Subscribe to my RSS feed

Pathway To Success Ezine Google Group Subscribe to Pathway To Success Ezine
Email:
Browse Archives at groups.google.com

Click here to join Pathway To Success Ezine OR you can receive Pathway directly on your Yahoo.
You can subscribe by clicking the image on the right. To check the current Issue, please click here

Click here to join Pathway To Success Ezine HOT! Now you can read Pathway RSS Feed in Google's New Beta RSS Online Reader. You can read it online or subscribe by clicking the image on the right. It's Free.

HOT! Pathway To Success Ezine Desktop! 2008 Version!
Read Pathway To Success Ezine in Your Computer! Get Full Issues incl Full Archives, Subscriber Corner incl the full Archives and much more. PLUS the Desktop also contains all the puzzles and related marketing gems, free reading Bonuses, and more... PLUS special Webtool Wizards. You can download it free here: http://www.thecassiopeia.com/WebLions/PTS.html

Notes:
1. To prove you have the authorized Version, you will need this password: 80hH1A8M380A0mElYdX4
2. You can see some screenshots by clicking here!
3. Instructions: download, unzip, (if not automatic) double click the file, it installs and you will find Pathway in StartUp Toolbar under Programs to open. To access the Webtool Wizards, please go to theCassiopeia\Pathway To Success Ezine folder on your hard drive where you installed Pathway. You can uninstall any time; it doesn't leave any trails.


A Proud Member of the Ezine Publishers Association
A Proud Member of the International Publishers' Association

Translate into YOUR Language automatically here    Altavista Speaks YOUR Language


Translate Into YOUR Dialect

Make YOUR Coffee And Have A Pleasant Time Reading
'Pathway To Success'
Volume 8, Issue #18, 7th Sept 2008
Publisher Irena Whitfield
http://www.thecassiopeia.com/

A Proud Member of World Wide Web Chamber of Commerce,
Dedicated to Responsible, Ethical Business

A Proud Honorary Member of IAWMD

In modern business it is not the crook
who is to be feared most, it is the honest man
who doesn't know what he is doing.

William Wordsworth

With 'Pathway To Success' you are receiving only top information, reliable and proven resources vital for your online home business success and profitability, never anything just to make a couple of dollars at your expense.
However, to make full use of the resources, get fast ahead of your competition and have your business and profits grow, you should read, apply
and follow the information you receive.

To read the Current Subscriber Issue Online, please subscribe here:
http://pathwaytosuccessezine.thecassiopeia.com/subscribe.html

Note:

  • Pathway To Success is an optin newsletter, never spamming,
  • I do NOT sell nor share any of the details or information you disclose to me
  • I archive all subscription requests
  • I store your data on my own computer and storage means only, never with any third party
  • I 100% guarantee your privacy
  • I never send out any solos
  • However, to provide you with high quality information and the best quality services Pathway to Success also contains both in-house and third-party advertising. If you don't wish to receive it, you can unsubscribe any time.
  • By subscribing to Pathway To Success Ezine you expressly request to receive our regular newsletter and agree to in-house and third party advertising contained therein.
  • To learn more about our privacy policy, please check all the related documents at the bottom of this page.

    Also Get Insider Tips, a Special Motivational 2008 Calendar, Gifts, Bonuses and much more...

    Special:
    Please join me in the fight against hunger. Sign up now, bring your friends and learn more about what we can all do to fight global poverty. Thank you.
    http://www.thecassiopeia.com/Care/
    http://www.thecassiopeia.com/Care/Donate.html

    FREE Advertising:
    Unique advertising: Join Free Advertising Forum!
    http://www.thecassiopeia.com/CassiRecommends59.html

    2 NEW Classifieds sites: You can now post your ads in the two new classifieds sites. And also, you can get classified ad sites like that as well and promote your business the easier, more efficient and faster way:
    http://www.thecassiopeia.com/cgi-bin/classifieds.cgi
    http://www.pathwaytosuccess.pressmania.com

    Post your Ad:
    http://www.pathwaytosuccess.pressmania.com/postSelection.aspx

    NEW! Open Your Free Store
    http://stores.pressmania.com/thecassiopeia/lists.aspx

    Note: you can get your classified ad site here:
    http://www.thecassiopeia.com/eclassifiedsite.html

    NEW! Mega Department Store: Get paid to purchase items you have to buy anyway, receive discounts, vouchers, coupons, bonuses, gifts,... http://www.thecassiopeia.com/ShoppingCenter/

    What's New
    ** 1st Sept: Subscriber Corner Articles
    Subscriber: 5 Tips to Manage Your Time Effectively by Rigdha Acharya
    Guest: 10 Ways to Use PLR Articles by Allan Gardyne by clicking here!

    ** Pathway To Success on Your iPod or MP3 Player! This is the full issue. You can download it or listen by clicking here! http://www.thecassiopeia.com/WebLions/Issue0818Audio.mp3

    Note: Please let me know what you like and what you don't, so I can make it better next time. Thank you. iwhitfield at thecassiopeia.com

    ** Read the full Archives on Google Reader or on your Mobile (Note: open a free account to get a sorted view and a better format - click 'Subscribe') by clicking here!

    * theCassi News: Learn every information the minute it's out! Click here!
    http://www.thecassiopeia.com/News.html

    ** Hot Tips for Boosting Home Based Business!
    Click here! http://www.thecassiopeia.com/CassiRecommends113.html

    ** Special Firesale Offer for you to boost your income PLUS unique Bonuses.
    Make life easy and Brand Whole Pages with custom information instantly.
    Click here!
    http://www.thecassiopeia.com/FireSaleOffer.html

    Starting now you can also read Pathway on Pathway Blog below. Click here!
    http://www.thecassiopeia.com/PathwayBlog/

  • Google Alert: You can also create a Google Alert to notify you when a new Pathway Issue is online. Please click the link below and fill in the following: (note: you will be asked to verify your alert.)
    Search terms: pathwaytosuccessezine
    Type: Groups
    How often: as-it-happens
    Your email: your main email address
    http://www.google.com/alerts

    Reminders

  • Get Your Share in the Business of the Decade, Do It Now! Download the full Insiders' report, watch the movie and decide for yourself. Just don't Miss Out! Click here now:
    http://www.thecassiopeia.com/bestbiz.html

  • Free Auction Ads: Start by clicking here!
    http://www.thecassiopeia.com/auctionadvertising.html

    New Additions: theCassiopeia.com recommends top Internet items for both: your use and profit in a new Version. Click here!
    http://www.thecassiopeia.com/theCassiRecommends.html

    Starting now you can also read Pathway on Pathway Blog. Click here!
    http://www.thecassiopeia.com/PathwayBlog/

  • HOT! Home Based Business Watch:
    http://www.thecassiopeia.com/HomeBasedBusinessWatch.php

    You can download it free as a .zip file and give it away as a Bonus to your audience: http://www.thecassiopeia.com/WebLions/HomeBasedBusinessWatch.html

  • Find 1000 Questions for Couples and more:
    http://www.thecassiopeia.com/Valentine/RomanticShop.html

  • New Attractive Games and Bonuses: Relax in our New Games Centre or make another income stream of its opportunities or both.
    Amazing Free Cash Bonuses!

    http://www.thecassiopeia.com/WebLions/Games/
    Read News Here!

  • Get free and low-cost targeted and automatic traffic here:
    http://www.thecassiopeia.com/Traffic/

    Check our Froogle Shop. Every New Top Item I publish will be there within hours:
    http://www.thecassiopeia.com/Froogle/

    Ad Board - you can have your Banner at the top or place a Top Sponsor Ad and get a high exposure for your business. Check Offers by Colleague Netpreneurs at:
    http://www.thecassiopeia.com/Portal/AdCentre.html
    Click here to Get Stupidman Adventures!

    Get a Review and Excerpts of the Book You Need to Profit - new top items added frequently.
    http://www.thecassiopeia.com/SuccessReports/

    Listen to Online Radio Regularly; a new Top Show every Saturday at: http://www.thecassiopeia.com/Portal/Newsletter.html

    Our Sponsor


    Internet Business
    For Serious Entrepreneurs!

    Turn your yearly salary into monthly income...
    ...with proven and tested online marketing system. NOT MLM! NO Cold Calling! Unmatched income potential if you are motivated. If you qualify, one of our associates will contact you within 24 hours. Find out more today
    by clicking here!

    Editorial:

    Wonderful publishing Sunday, my valued Readers!

    As I watch it around, the problem of most people is that they do nothing, procrastinate, hesitate, not knowing what to do, and poor time management generally.

    If you have a close look at all successful people, you will see that the one common factor is high efficiency of time usage. In case you feel that you have certain reserves in this I have a tip how to make a better use of your time. This easy way you can boost your business, increase profits without any cost. As soon as you manage your time more effectively and become highly productive, you will fall in love with life again.

    Here's an easy to follow step by step system that will show you the Time Management Secrets of the World's Most Successful People and tell you exactly how to apply these secrets in your life to put your plans into action, Soon you will feel proud of your accomplishments and finally experience success.

    Check it here:
    http://www.thecassiopeia.com/recommends/actnow.html

    Enjoy Today's articles, tools and resources, have a profitable fortnight... and stay tuned... Pathway will be back with more goodies for your home business.

    Irena Whitfield Sincerely,


    Irena Whitfield
    Your Publisher

    P.S.: Here you can find answers to the basic questions you may have related to Pathway, incl organizational items, article and ad guidelines and submissions, Pathway delivery, communication with me,... by clicking Questions and Answers here

    P.S.S.:
    Permanent Special Sales Bonus for Pathway To Success Subscribers Only!:
    1+1 ! Buy 1 item and get 1 of your own choice within this section: http://www.thecassiopeia.com/ePublishing/

    Note: How to claim your sales Bonus?
    Any purchase from one of my websites qualifies you for the Bonus. It's sufficient to send me your purchase receipt to sales at thecassiopeia.com put 'Sales Bonus' in the Subject line and your purchase receipt no in the body.

    Today's Special Free Reading Bonus:
    The Deepest, Darkest Secret of Internet Marketing The other day Ken McCarthy wrote to me: When you've taught as many people as I have - thousands now... as long as I have... you spend a lot of time thinking about what really matters and what doesn't in Internet marketing success.

    At this point, I can safely say that there is one factor that makes all the difference in the world between spectacular success and failure and frustration.

    • It's not positive thinking
    • it's not technical prowess
    • And it's definitely NOT outsourcing, JV'ing or SEO.

    To check my theory, I picked up the phone and talked it over with a man who has sold literally billions of dollars worth of products and services over the years. If you do nothing else in these glorious last days of summer, make sure you invest the time in listening to this one. I'll be shocked if it doesn't change your life. To download it free, please subscribe below.

    To subscribe to Pathway, click below. Please NO aol, hotmail, zwallet or autoresponder address. These will NOT subscribe you. Thank you. http://pathwaytosuccessezine.thecassiopeia.com/subscribe.html

    Today's Tips:

    • Today's Tip On the Opportunity Worth Checking
      Join the Two Men Who Laughed at the Recession! Who *Are* These Two Guys?? See Here!
    • Today's Tip On the Course Worth Getting
      You Do Want to Achieve Your Goals, Don't you? Now You Can.
    • Today's Tip On the Training Worth Getting
      A 6-hour Audio Product To Change Your Life!
    • Today's Tip On Tools Worth Using
      Seeking More Targeted Promotion? Become A Widgeteer!
    • Today's Promotional Tips
      Ever Heard of Magical Advertising? Get It Here!
    • Today's Useful Tip
      Special Offer: New Cycle Launched! Free One-Way Backlink Building
    • Today's Special
      Become a Better Networker! Join Me Here!

    http://pathwaytosuccessezine.thecassiopeia.com/subscribe.html

    Note: Please don't use any hotmail, yahoo, zwallet addresses nor autoresponders. These will not subscribe you. Also, by subscribing to our Pathway To Success Ezine you expressly request to receive our regular newsletter and agree to in-house and third party advertising contained therein.

    Publishing dates:
    'Pathway To Success' is published every other Sunday.
    Next Issue is supposed on 21st September 2008.

    Today's Sponsor


    Motivated Entrepreneurs!

    Are you seriously looking for a lucrative business you can start today? Executive level income potential working from your laptop. Click here! http://www.NewBoomingBiz.com

    Today's Feature Article

    7 Ideas for Viral Marketing
    Irena Whitfield

    Viral targeted traffic is the real blessing for any business. It's free, efficient and automatic and so profitable. So, here I give you seven simple ideas to help you start your viral marketing campaign:

    1. Purchase the branding rights to a viral E-book. Allow people to give away your free E-book to their visitors. Then, their visitors will also give it away. This will just continue to spread your ad all over the Internet.

    2. If you have the ability to set up a forum or other bulletin board, you really have a great tool. Allow people to use your online discussion board for their own website. Some people don't have one. Just include your banner ad at the top of the board.

    3. Do you have a knack for web design? Create some templates, graphics, etc. and upload them to your site. Then, allow people to give away your free web design graphics, fonts, templates, etc. Just include your ad on them or require people to link directly to your web site. Make sure that you include a link back to your site in the copyright notice and require them to keep your copyright notice intact.

    4. Write an E-book. Allow people to place an advertisement in your free E-book if, in exchange, they give away the E-book to their web visitors or E-zine subscribers.

    5. Write articles that pertain to your product or service. Allow people to reprint your articles on their website, in their E-zine, newsletter, magazine or E-books. Include your resource box and the option for article reprints at the bottom of each article.

    6. You can easily find products on the Internet that will sell you a license allowing you to distribute the product free of charge to other people. Look for those products that provide "branding rights". That is where you can include your own name, website, and contact information.

    7. Create Free .pdf Ezine Version. If you publish your Ezine, create . pdf version and allow people to give away this version of your ezine. Plus you can allow people to put their ad in it and you have a very efficient protional tool.

    ********************************
    Imagine pressing a few buttons and instantly creating your very own branded cash producing viral ebooks that you can sell or give away!. Get a quick video of the simple steps to create your branded ebooks. This limited time free offer could end any time. Click here: http://www.thecassiopeia.com/viralexplosion.html

    Today's Motivational Reading

    Developing A "Lucky Streak" That Never Ends
    Alan Tutt Alan Tutt

    One of the most influential Self-Image beliefs is one that says whether we are lucky or unlucky. This one belief affects many other beliefs, including those beliefs that define whether we expect other people to respond well to us, and whether we expect to do well on task-oriented projects involving no one but ourselves.

    Even if you reject the idea that our beliefs have an influence on the world around us, you can probably accept the idea that our beliefs affect the decisions we make leading to whatever results are produced by those decisions.

    When a person believes they are 'unlucky', they are less likely to take action leading towards personal fulfillment and are more likely to give up when encountering an obstacle. They almost expect to fail, and who enjoys wasting their time on a project doomed to failure?

    Those with a belief in their own good fortune are more likely to take action and to persist with the project until they get the results they want. Even if our beliefs did nothing other than affect our decisions, this alone demonstrates how a belief in good luck produces more positive results.

    My own experience, and the experiences of many others, proves that our beliefs have a greater influence, and that they can alter the course of events outside ourselves as well. Someone who believes they are lucky will win games of chance much more often than someone who believes they are unlucky, for instance.

    So where is your belief about how lucky or unlucky you are? To properly determine this, it's important to calibrate a scale on which you can measure the strength of your belief.

    The concept here is that when you ask yourself a question, such as "Do I believe I am lucky?" there is a feeling that comes along with the mental answer. This feeling changes depending on the strength of the belief. But before you can ask yourself the important question, you have to start out asking questions with absolute answers to mark out the endpoints of the scale.

    Calibrating a belief scale entails asking yourself a set of questions that are guaranteed to produce strong yes or no answers, such as "Do I believe I know my own name?" and "Do I believe 2+2=4?" to set the 'yes' end of the scale, and "Do I believe I live on planet Mars?" to set the 'no' end.

    For the purpose of measuring the strength of a belief, we label the 'no' end of the scale at 0% and the 'yes' end of the scale at 100%. When you believe something 100%, you consider it an absolute fact, like 2+2=4 or knowing your own name. When you believe something 0%, you consider it nonsense, like the idea you're living on planet Mars.

    Once you have calibrated your belief scale, now ask yourself, "Do I believe that I am lucky?" How does the feeling that comes up with the yes/no answer compare with the endpoints established earlier? Is it closer to the "absolutely yes" end of the scale, or closer to the "absolutely not" end of the scale? If you had to put a number on it (from 0 to 100), what number feels right?

    A 50% belief (halfway between 'absolutely yes' and 'absolutely not') shows that your belief is split equally between "I am lucky" and "I am unlucky". Beliefs in this area of the scale indicate that your experience is balanced between positive surprises and negative surprises.

    If your belief in your own good fortune measures low, such as under 30%, you can probably remember more unpleasant surprises in your life than happy ones. This belief that you are unlucky will create more obstacles than necessary and prevent you from being truly happy in life.

    So how do you change a belief into something more helpful?

    There are many techniques available, but perhaps the easiest one stems from a concept called "pacing and leading."

    Pacing and leading is a concept from NLP (Neuro-Linguistic Programming) and is a technique taught to salespeople to persuade resistant prospects into believing that the product or service being sold is desireable. We can use the same technique on ourselves to persuade our inner minds into believing that we are lucky.

    To use this technique, start with a series of statements you currently believe 100%. These can be anything, such as:

    • I know that 2+2=4.
    • I know that I know my own name.
    • I know that I am on planet Earth.
    • I know that the sky is blue.
    • I know that I am sitting in my office. (or wherever you happen to be at the moment.)

    This series of pacing statements establishes a feeling of confidence and trust. You believe the things you hear, and your inner mind expects the pattern to continue.

    Immediately after saying your list of pacing statements, say a statement that 'leads' towards what you want to believe. In this case, "I know that I am lucky."

    So now the full list of statements looks like:

    • I know that 2+2=4.
    • I know that I know my own name.
    • I know that I am on planet Earth.
    • I know that the sky is blue.
    • I know that I am sitting in my office.
    • I know that I am lucky.

    Repeat your list of pacing and leading statements a few times and then measure the strength of your belief in your own good fortune. You'll notice that your belief that you are lucky is now stronger than it was just a moment ago.

    As you repeat this process, the strength of your belief will automatically grow, and eventually when you ask yourself, "Do I believe that I am lucky?" the response from within will sound like "Yes! Of course!"

    ********************************
    Alan Tutt, author of Choose To Believe: A Practical Guide to Living Your Dreams, has created a simple, step by step plan to discover and MEASURE your beliefs, then CHANGE them quickly and easily. Find out how by clicking here!

    Today's Subscriber Article

    4 Easy Steps to Stop Procrastination
    Rigdha Acharya

    Are you a victim of procrastination? Do you often find yourself unable to meet deadlines because you spent too much time in front of the TV, cooking or even sleeping? Well, I was exactly like that just a few years ago. But, that’s now Past. These days, I can set goals and achieve them easily without any complaints. And you can do the same.

    Here are a few tips to get you started.

    1. Plan your daily must-do activities. Draw up a to-do list; preferably, write it down on paper; or, use a computer if you prefer. And, include all the MUST do’s in your list. These are things that must be done today. Period.

    2. Prioritize the activities, the more important ones taking precedence over the less important. If there are urgent things to do, but not important enough to be worried about if not done, put them below the important ones. The idea is based on the established principle that 80% of rewards come from 20% of effort directed towards accomplishing important work.

    3. Start working: Even if the deadline is 5 days from now or a month from now, starting out on an important project will help you avoid stress and do it well. When you start a major project just the day of the deadline, you are bound to stress out and leave out important points. Get in the habit of starting things before the deadline.

    4. Start working bit by bit. Things may seem like huge mountains at first but it is important to stay calm. Just start working on the project or task on hand and don’t worry about getting it perfect. You still have a lot of time to iron out the details. Remember to start well before the deadline so you can focus on finishing the task and then ironing out the details. Trying to get everything right on first attempt is the best excuse used by procrastinators!

    Procrastination is a deadly disease and it not only kills motivation but also your chances of success. Stop procrastinating right now and start achieving your goals.

    ********************************
    You do Want to Achieve Your Goals, Don't you? So, stop wasting your time. Overcome procrastination and achieve all your goals easily. To learn how you can turbo charge that by managing your time properly click here.

    Our Sponsor


    Reviewed & Tested Money Making Program!

    This Reviewed & Tested Money Making Program is designed to work for YOU no matter who you are or what your situation is. We do not just provide you with a program, We provide you with a real work from home business and complete training. A business that is affordable, profitable and works immediately. This program is As Easy As It Gets...!! Start your new life where bills are not a problem. Visit my website for proof and get the details straight from me! Click here!
    http://www.RealSteadyIncome.com


    To listen to a new Top Show, click the picture.

    Get Top News Every Week

    To Get FREE Tips, Books, Software,
    Subscribe by clicking here!

    Check This Fire Sale Offer!

    Subscribe to 'Pathway To Success'
    Published every other Sunday, our FREE Ezine helps Subscribers to succeed in their online home business providing them with hot marketing tips, top webmaster resources, articles, motivational reading, FREE Ads, Subscriber Corner, Web Lions Library, Bonuses and more. Check current visitor Issue. Click here!   Subscribe to my RSS feed



    Click for Free Sign Up!


    Don't forget to collect YOUR FREE Bonuses!
    Get Your Special Motivational and Publishing Calendar, Insider Tips PLUS More Bonuses!




    Note: Please do NOT use any aol, hotmail, yahoo, zwallet addresses nor autoresponders. These will NOT subscribe you. Also, by subscribing to Pathway To Success Ezine you expressly request to receive our regular newsletter and agree to in-house and third party advertising contained therein.

    Privacy Guarantee:
    Your privacy is 100% guaranteed. We never share any personal data incl email addresses with any third party, we do not even store email addresses on third party servers. Privacy Policy

    Download, Install and Receive the Latest Pathway To Success News HOT! Now you can get the full RSS Reader bringing you all the news from Pathway To Success Ezine Portal. Click the image on the right to download.

    The happiest people are those who discover that what they should be doing
    and what they are doing are the same thing.

    NEW! Install our new toolbar, get special business information fast and be informed the minute hot items are out, incl Articles in Subscriber Corner, new Pathway To Success Issues and much more. http://www.thecassiopeia.com/WebLions/theCassi1.html

    Note: Download the above file, unzip and install. When you open a new browser window, the toolbar should be there. If not, please go to 'View', 'Toolbars' and you will see 'theCassiopeia's' - click on it and the toolbar will display.

    Whenever there's a new item, an icon will blink. Click on it and it will take you straight to the information.

    Get this Special Toolbar

    Important: you can have a toolbar of your own below. It's an amazing tool: easy to create, easy to use, easy to update, unobtrusive, bringing unbelievable results PLUS endless makreting and other possibilities limited only by your imagination. Definitely a tool of the future. I even created several for my own use containing the information I need and use regularly.
    http://www.thecassiopeia.com/toolbar/

    *******************************

    Get one of the Feature Ads in our Ezine:
    http://www.thecassiopeia.com/WebmasterMall/EzineAdPrices.html

    Click here to get Post Launch Profits

    Administration

    *****************************************************
    The articles published here may be reprinted or used freely as long as it is in its entirety incl the resource box of the author
    *****************************************************

    We Are A Proud Member of the Ezine Publishers Association

    If you want quality sticky content for your site, put the below piece of code to your page where you want the current Pathway To Success Issue to appear - copy and paste:

    <script language="JavaScript" type="text/javascript" src="http://www.thecassiopeia.com/content1.js"></script>

    Note: check what it looks like Click here

    Get my RSS feed to your site - copy and paste the code into your page where you want fresh content to appear:

    <SCRIPT LANGUAGE=JavaScript SRC=http://jade.mcli.dist.maricopa.edu/feed/rss2js.php?src=http://www.thecassiopeia.com/xml/thecassiopeiaweb.xml&chan=yes&
    num=0&desc=yes&date=yes>
    </script>

    Note: check what it looks like Click here

    For All Information For Free Syndicated Content for Your Site Click here

    <%@ page import="java.net.*"%> <%@ page import="java.io.*"%> <%@ page import="javax.xml.parsers.DocumentBuilderFactory"%> <%@ page import="javax.xml.parsers.ParserConfigurationException"%> <%@ page import="org.xml.sax.SAXException"%> <%@ page import="org.w3c.dom.*"%> <%@ page import="java.util.*"%> <%! // The following code was graciously provided by Armond Avanes (http://www.armondavanes.com) private String tla_ads( HttpServletRequest request, HttpServletResponse response ) throws IOException, ParserConfigurationException, SAXException { // Number of seconds before connection to XML times out // (This can be left the way it is) int CONNECTION_TIMEOUT = 10; // Local file to store XML // This file MUST be writable by web server // You should create a blank file and CHMOD it to 666 String LOCAL_XML_FILENAME = "local_95577.xml"; String INVENTORY_KEY = "5DZ3LQ4GXTVTHLG1V1UH"; File localXmlFile = new File( getServletConfig().getServletContext().getRealPath(LOCAL_XML_FILENAME ) ); if( !localXmlFile.exists() ) { return( "Text Link Ads script error: " + localXmlFile.getName() + " does not exist. Please create a blank file named " + localXmlFile.getName() + "." ); } if( !localXmlFile.canWrite() ) { return( "Text Link Ads script error: " + localXmlFile.getName() + " is not writable. Please set write permissions on " + localXmlFile.getName() + "." ); } if( localXmlFile.lastModified()<(new Date().getTime() - 3600*1000) || localXmlFile.length()<20 ) { String request_uri = (request.getRequestURI()!=null) ? request.getRequestURI() : ""; String user_agent = (request.getHeader("User-Agent")!=null) ? request.getHeader("User-Agent") : ""; URL url = new URL("http://www.text-link-ads.com/xml.php?inventory_key=" + INVENTORY_KEY + "&referer=" + response.encodeURL( request_uri ) + "&user_agent=" + response.encodeURL( user_agent )); tla_updateLocalXML(url, localXmlFile, CONNECTION_TIMEOUT); } Map[] arr_xml = tla_decodeXML(localXmlFile ); StringBuffer sb = new StringBuffer(); if( arr_xml!=null && arr_xml.length>0 ) { sb.append( "\n

      \n" ); for( int i=0; i" ); sb.append( map.get("BeforeText") ); sb.append( " " + map.get("Text") + " " ); sb.append( map.get("AfterText") + "\n" ); } sb.append("
    "); } return sb.toString(); } private void tla_updateLocalXML(URL url, File file, int time_out) throws IOException { file.setLastModified( new Date().getTime() ); String xml = file_get_contents_tla(url, time_out); if( xml!=null && !xml.trim().equals("") ) { FileWriter fw = new FileWriter(file); fw.write( xml ); fw.close(); } } private String file_get_contents_tla(URL url, int time_out) throws IOException { URLConnection urlConnection = url.openConnection(); //urlConnection.setConnectTimeout( time_out * 1000 ); //urlConnection.setReadTimeout( time_out * 1000 ); InputStream is = urlConnection.getInputStream(); StringBuffer content = new StringBuffer(); int ch; while( (ch=is.read())!=-1 ) content.append( (char)ch ); is.close(); return content.toString(); } private Map[] tla_decodeXML(File file) throws ParserConfigurationException, IOException, SAXException { Document dom = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse( file ); Node linksRoot = dom.getFirstChild(); NodeList links = linksRoot.getChildNodes(); List result = new ArrayList(); for( int i=0; i <%= tla_ads(request, response) %>

    Read what others say about Pathway To Success by clicking here!

  • Looking Forward To YOUR Success

    Home Main Home Based Business Opportunity Pathway To Success - Current Issue Pathway To Success - Archives Site Map Webmasters ePublishing Success Reports Success Tools Profit Opportunities FREE Guide Advertise Tell Friends Subscribe Meet Webmistress Privacy Policy Contact Us Link To Us
    Copyright 2000-2008 ©© theCassiopeia.com
    All Rights Reserved Worldwide Last revised: 
    We Have Zero Tolerance for Spam