|
A Proud Member of World Wide Web Chamber of Commerce, Dedicated to Responsible, Ethical Business
A Proud Honorary Member of IAWMD
Nothing is impossible to a willing heart.
John Heywood
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:
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 May: Subscriber Corner:
Subscriber Article: How I Earned My Freedom and Quit My Job by Steven Lohrenz
Guest Article: Could This Solve Your Procrastination?
by Dr Martin W. Russell
Click here! http://www.thecassiopeia.com/SubscriberCorner/
* 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
|
Hot!
|
How to make Money in this Economy!
When you think about the economy, the real estate market and
the recession we are about to enter, experience and history
will tell us 2 things:
1) It doesn't last, so that's the good news
2) It gets worse, before it gets better that's the bad news
unless you plan accordingly!
Today, the Internet will be the #1 source for people to find
these additional income opportunities. Those positioned
correctly will make HUGE incomes. There is an innovate company
that takes all of that "heavy lifting" out of the process,
where their sophisticated sales process, is totally automated...
Click here to learn more!
|
Editorial:
Wonderful publishing Sunday, my valued Readers!
In this quickie I would like to mention a couple of rules
for advertising in Pathway. Hundreds of you, my Subscribers,
still regularly submit free ads. Pathway does NOT accept
free ads for over 5 years. The only 2 ways to advertise are:
1. to place an Ad in the main Issue (ie like this):
pick up the ad most suitable for your needs and order
by clicking here.
Waiting time is about 3-4 issues. Maximum Ads in 1 Issue: 3.
2. to place an Ad in the Ad Center:
http://www.thecassiopeia.com/Portal/AdCentre.html
Order through one of our ad-coops, eg below:
http://www.thecassiopeia.com/ezineadcoop.html
http://www.thecassiopeia.com/specialezineadvertising.html
(the first 3 ads are published in the 1-page online issue)
Waiting time is about 4 issues. Maximum Ads for 14 days: 50.
The only free way to advertise in Pathway is to offer our
Subscribers a product of your own or a special discount.
If it is suitable, I will include it as one of the Tips.
Enjoy Today's articles, tools and tips, have a profitable
fortnight and stay tuned.... Pathway will be back with more
goodies for your home business.
Sincerely,
Irena Whitfield
Your Publisher
P.S.: 101 Great Ways to Improve Your Life Today:
finally the complete collection of 101 insider secrets showing
you how to instantly and positively improve your life!
To learn more about this special offer go here:
http://www.thecassiopeia.com/101expertsecrets.html
P.S.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:
Encyclopedia of Online Advertising A genuine "must read" for all Internet Marketers as this is
one of the few known comprehensive compilations of free
advertising methods that really work! This ebook contains
virtually every known method of FREE online marketing today.
You will be pleasantly surprised at the valuable information
contained in this 79 page resource manual!
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
3 Part Teleseminar Series for Subscribers
- Today's Tip On the Book Worth Having
Get Your FREE Copy of Article Marketing Strategies Exposed
- Today's Tip On the Software Worth Using
Ever Wished to Have Your Own Professionally Created Ads?
- Today's Tip On Learning
Want More Traffic? Get FREE REPORT: Thought Stringing
- Today's Promotional Tips
Want More Promotion?
- Today's Useful Tip
Great Network Community!
- Today's Special
Make Mother's Day Special
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 18th May 2008.
|
Hot!
|
Tip of the Day
Did you know that subscribers to Bob Osgoodby's Free Ezine
"Tip of the Day" get a Free Ad for their Business on his Web
Page? Subscribe below.
Great Business and Computer Tips - Monday thru Friday
Instructions to place your ad are in the Newsletter.
http://adv-marketing.com/business/subscribe2.htm
|
Today's Feature Article
There Is More to Tracking Than Conversion
Michel Fortin
One of my coaching students recently asked me whether it's
better to offer a free trial or a $1 limited time trial as
an incentive to sign up for a paid newsletter subscription.
The answer involves the vital role of tracking and testing
throughout your entire sales funnel.
Generally speaking, a free trial is likely to convert more
visitors initially, but the $1 trial may be the better choice
over the long term. Such generalizations have little place
in business. The only way to determine the right answer
for your business is to track and test the process
from beginning to end.
It's important to remember that conversion rates are only
half the equation. What it comes down to is visitor value,
not simply what is better for short term sign-ups.
Before applying the information to the free trial vs. $1 trial
question, let?s take at a hypothetical pay-per-click (PPC)
campaign to illustrate the concept of visitor value with simple
terms and calculations.
Say you spend $1,000 on a PPC campaign and generate 10,000
visitors. Also, say your salesletter converts at 1% and each
sale is worth $50 to you. This means you generate:
- 100 sales (1% of 10,000 visitors).
- 100 x $50 each = $5,000 gross profits.
- $5,000 divided by 10,000 visitors means each visitor is worth
$0.50.
In a second campaign you choose to spend more for better
keywords. You double your campaign costs to $2,000.
This time, the better keywords generate more targeted visitors,
but you end up with less traffic and only generate 4,000 visitors.
On the surface, it looks like the smaller campaign brought
in a better return, but it goes further than that.
Because the traffic from the second campaign is more qualified,
the conversion rate on your sales letter will increase
perhaps double or even triple. Let's say 3% in this example.
Now, let's do the math again. You generate:
- 120 sales (3% of 4,000 visitors) at the same value of $50
per sale.
- 120 x $50 each = $6,000 gross profits.
- So, $6,000 divided by 4,000 visitors means each visitor is
worth $1.50.
Once you've looked at the whole picture rather than the conversion
rate alone, the picture changes. While you doubled your
expenses in the second campaign, you tripled your visitor
value and your overall profits.
Since the visitors were more targeted and qualified it's
likely that these customers will stay longer, buy more and
present less hassles in terms of refunds, returns and complaints.
So the LIFETIME visitor value will increase substantially, too.
Translating visitor value to the question of the free trial
subscribers and $1 trial subscribers is a similar process.
Take your tracking beyond conversion rates and look at your
entire funnel to determine the more profitable scenario
for your business. Are the free subscribers or $1 subscribers
more likely to convert into full membership?
Another element of testing and tracking through the whole
process rather than focusing solely on conversion rates is
that it will give you more information to work with so you
can improve sticking points throughout the sales cycle.
A more comprehensive look at the process will show you exactly
what is converting, where you can improve, and where your
bottlenecks are.
For example, if you have a typical sales process with an opt-in
page, followed by the salesletter, and then the order page,
as well as an autoresponder series for those who opt-in but
don't buy, you will learn:
- Which page is converting (or not);
- Where people ?stumble? or leave;
- What to improve and test variations of.
- You will learn all that by tracking:
- How many unique visitors opt-in.
- How many buy from the salesletter.
- How many buy from the order form.
- And how many buy from your autoresponder follow-ups.
Knowing this can tell you where you ARE converting, and identify
your biggest bottleneck.
For example, if you have 40% who opt-in, and 5% of those who
opt-in click to the order form to buy, but only 1% buy, this
tells you that your bottleneck is your order form!
A person who doesn't track may jump to the conclusion that
the less than 1% conversion indicates a salesletter issue,
where proper tracking would reveal that the issue is with
the order form.
With tracking, you can clearly see that your opt-in and
salesletter copy are indeed working, but for some reason,
people are leaving once they hit the order form.
This is why it's important to look beyond conversions and
develop a practice of tracking the entire sales process.
Whether your question is whether a free trial or $1 trial is
a better choice or you are wondering whether a particular
bonus is a good fit for your target market, you will find
the answers through tracking and testing the entire sales
funnel and not just sales.
When you focus on the bigger picture, you can easily calculate
overall customer value and identify weak links in your sales
process.
********************************
Michel Fortin is a direct response copywriter, marketing
strategy consultant, and instrumental in some of the most
lucrative online businesses and wildly successful marketing
campaigns to ever hit the web. For more articles like this
one, please visit his blog below and subscribe to his RSS feed:
http://www.michelfortin.com/
Today's Motivational Reading
Question to Answer:
Don’t Fall Victim to Cash Advances
Irena Whitfield
I can't help starting with my basic principle: do not get
cash advances.
The easy and convenient way by which cash advances are providing
people with money is creating a social problem called "cash
advances dependence". Many people aren’t even aware that they
are becoming dependent on cash advances. They have created
a secure destructive nest for themselves of which even they
aren’t aware. The best thing is to admit you have a problem
and get yourself out of it.
With cash advances people are finding out how easy it is
to get money. That means that even when they do not have
a financial emergency, as this is what cash advances where
intended for, they still take out a cash advance loan. This
means that people are using the money that they get from cash
advance loans to go on holiday, purchase a new car or anything
to that effect. This is clearly not the smart way of using
this financial system. This is in fact abusing the privilege
that one gets from being able to get a cash advance.
The "no credit policy" of most cash advance loan companies
is also the reason why people are becoming cash advances
addicts; people can borrow money from more than one cash advance
company, which means that they end up having a high debt to pay,
or worse yet they have to file for bankruptcy. This indeed
is becoming more than just a personal responsibility but more
broadly a social one.
The most proactive thing you can do is to get out of debt as
soon as possible. You should seek help from a financial
advisor from your bank or seek help from a private advisor;
they can help you make a better step in the direction of making
payments and being able to enjoy your own interest free, hard
earned money. This will also help you get back on a better
and healthier track with your financial situation.
The cash advances are not to be blamed for your own human
weakness. Money does that to even the best of us.
********************************
Want to learn more about managing your money the right way?
Get the Financial IQ Guide:
http://money.thecassiopeia.com/
Today's Subscriber Article
The Top 7 Reason Why Every Business Should Have a Blog
Kenton Newby
It doesn't matter if you call it a "niche", a "target market",
your "ideal prospects" or some other term...if you're selling
products, promoting affiliate offers or simply creating content
online for nearly any group of people as part of your online
business, you absolutely MUST have a blog. These days, it's
just not an option if you truly want long-term success.
What used to be simple little online diaries have now become
powerful ways of organizing and offering content to a wide
audience of people dying for fresh, new ideas on nearly any
topic. If you're not using a blog yet, by the end of this
article you'll hopefully "see the light" and understand why
this is such an important platform to add into your online
business efforts. In fact, there are quite a few reasons why
you should seriously consider creating a blog for your online
business today, but let's just go over a few of them
in the interest of time.
1. Information-based Marketing Versus Hype
One of the biggest reasons to create a blog is for more
effective marketing. No matter what business you're in, it's
probably a more competitive landscape now than ever before,
with it getting harder and harder to gain the attention of your
prospects (people are TOO BUSY to be barraged with blatant
marketing). But with a blog, you can create valuable content
(audio, video, text or all three) that separates you from the
competition as your prospects are comparing all the available
options. And if you know that people are out there looking
for certain types of information that ties in with the products
and services you offer, you should DEFINITELY be offering
that sort of info on a blog, while also promoting your products
as solutions to those problems.
2. Demonstrate Your Expertise
Another great reason to have a blog is that they allow you
to differentiate yourself from the competition. In fact,
by posting relevant, useful info, you're positioning yourself
as the expert in your field. No matter what your product or
service is, everyone wants to deal with someone who's the expert
in their topic. Having lots of content available on your topic
helps you prove your expertise and builds trust with your
visitors. Those are the people you want coming to do business
with you - people that trust you and CHOOSE to do business
with you.
3. Generate Traffic for Other Products and Services
A blog also allows you to bring targeted traffic to your
website in a way that a traditional website just can't offer.
Blogs make it so easy to add new content to the site that
it's about as easy as sending an email. And of course, more
content means more traffic. Once you start getting more traffic,
you can drive that traffic anywhere you want...to your own
products, to quality affiliate products that earn you a commission,
to your email list and so on. Not only does this make your
blog a more valuable resource in the way it positions you
versus the competition, but you're also able to turn your
website into a profit center for your business.
4. Earn Subscribers' Trust and Build a Community
One common mistake people make with their sites is not building
a subscriber list...probably the most valuable business asset
you can have. This can be even more of a challenge with a static
site. Since none of the info on the site changes, there's less
of a reason for people to come back. And if that's the case,
why should they feel compelled to sign up for your email list?
If, on the other hand, you have great info on your site, they'll
probably want more. You can offer them something in return
for their email address...maybe a special report that really
solves a pressing problem they're facing, or an email course
that does the same thing. That way, you can create a list of
subscribers and build a relationship with them where they get
to know you, like you and trust you and your information. If
you have a community of subscribers like that, you'll NEVER
run out of business.
5. Build Online Business Relationships
In the same way that you can use a blog to build a relationship
with your subscribers, you can also build relationships with
other blog publishers in your market. This can be a vital step
towards creating partnerhips and sending traffic to each others'
sites. This is possible thanks to common blog features like
comments and trackbacks. Using these effectively gets you
"on the radar" of the other website owner and can be the first
step towards a profitable business relationship. Think of it
as a form of online networking.
6. Teach Your Visitors and Create Better-Informed Customers
Providing useful content to your audience also helps you educate
your customers and potential customers. And it's a proven fact
that educated customers are better customers. There's less
of a need to "sell" them once they're ready to buy, they're
more likely to use your product rather than have it sit
on the shelf, refunds will likely be lower and on and on. You
could have blog posts that address common objections or things
that seem like weaknesses in your product. You can highlight
what people will gain by using your product and your content
can offer tips for how best to use the product once someone
buys. This is similar to what you might do in a face-to-face
selling situation, but now it's done nearly on autopilot.
7. Generate Ideas for New Products and Services
As you get comments and other feedback from your website
visitors, there's a good chance you'll also get a number of
ideas for other products and services you could offer. You'll
get to know your audience, learn their problems, concerns and
challenges. You'll have an excellent opportunity to provide
products and services that solve these problems which will
not only be profitable for you, but will also help your
customers reach their goals faster and easier. That's a true
win-win situation and your website visitors will love you
for it.
****************************************
Come and take part in the hype-free, no-nonsense discussion
of what it takes to build a truly successful online business
plus get $84.85-worth of business-building material for free.
Visit Ken today by clicking here:
http://www.kentonnewby.com
|
Hot!
|
LIST OF COMPANIES BUYING PHOTOS NOW!
If you have a digital camera and an internet connection,
you can make more money than you know what to do with.
Beat the tough times. For more information visit:
Click here!
|
To listen to a new Top Show, click the picture.
To Get FREE Tips, Books, Software, Subscribe by clicking here!
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!
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
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 question should be, is it worth trying to do,
not can it be done.
Allard Lowenstein
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.
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

*****************************************************
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
*****************************************************
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!
|