Friday, May 31, 2013

Check your website speed,size,...free!!

Pingdom is website that allows you to analyze your website for free.You can check whether the DNS  servers are configured properly.You can test the load time of your site,analyze it and find bottlenecks.There are also many other different tools.They also have paid plans starting at 9.95 $.
Click here to visit their site.


Visit http://tools.pingdom.com/fpt/ for their free tools.



Subscribe to our blog for latest internet tricks and other PC tricks.

Thursday, May 30, 2013

Get Detailed Computer Hardware Details With CPU-Z {Free Download}

Get to know your hardware in detailSometimes you need to know your system specs that are not listed in your manual or manufactures website.In such situations it can be very difficult to find out the actual specs.CPU-Z allows you to exactly do that.
For example if you are about to buy a new RAM you need to check out whether you have an extra slot,what is its memory frequency,etc.
CPU-Z shows detailed information for your CPU,Caches,Mainboard,Memory,SPD and Graphics.



What Information Can You Get With CPU-Z?

CPU

In the CPU tab you can get detailed information of your processor.This detailed information includes 
  • Name
  • Code name
  • Max TDP
  • Socket version
  • Technology
  • Core voltage
  • Speed
  • Cache information,   etc..

Cache

In this tab you can get a more detailed information of your processor's cache.You can get details like the cache size for each L1,L2 and L3 cache and also a descriptor for each cache.

Mainboard

Although this tab doesn't provide very detailed specs of your motherboard,you can get some basic but useful details like manufacture,model,chipset,etc.You can also know your BIOS and Graphic Interface details in this tab.

Memory & SPD

Memory refers to your computer's RAM.This handy tool can provide a lot of information about your RAM in each slot.You can also check for empty slots right from the SPD tab.These tabs provide information like 
  • Available memory
  • Frequency
  • Manufacturer
  • Serial number
  • DDR version
  • Timings,etc..

Graphics

If you are having more than a graphics make sure you select the corresponding graphics to extract the information.Inbuilt processor graphics will also show up here like the Intel HD graphics.More information like 
  • Model number
  • Manufacturer
  • Technology
  • Size
  • Shader
  • Memory
  • Core
  • Bus width,etc   can also be extracted.

Note:The actual download link for the latest version is located in the right sidebar

Further Reading: Free benchmark tools
                              Update to certified drivers for free
                              Fix Every Error, Every Crash and Every Freeze with eFix !
What information you want to know with CPU-Z?Is there any other method that you use to do the same?Leave your replies in the comments.

Wednesday, May 29, 2013

How to change the default undo level in After Effects CS5?



The undo command lets you go back to the steps backward to correct a mistake.In after affects ,you can step back one step at a time through several errors.By default the undo level is set to 32.You can change this value in preferences depending upon your needs.

To change the undo level:


  1. Select edit-preferences-general from the menu bar.
  2. Click the underlined text for the levels of undo option.A text box appears.
  3. Type the desired undo level in the levels of undo box.
  4. Click ok.
Note:The levels of undo depend on the amount of RAM  you have.The greater value you set ,more RAM is required.

Visit www.completepcguide.blogspot.com for pc tricks and tips.
Subscribe to our blog to become an after effects expert.

Create great animations fast&absolutely free!! [No downloads required]

Are you interested in creating animations?Don't you know to animate in adobe flash,autodesk maya or in any other softwares?Don't worry, if you are still interested we have a solution!

  Go!Animate is website that allows you to create extra ordinary animations fast and free.They have  a set of templates that you can edit with ease.If you are planning to make animations for business purpose then go for their paid plans rather than the free.
Signing up an account is also very easy with the facebook or google+ sign in option.As a free user you can create animations of 2 min in length.They also have tutorials to help out people who needs help.Their forum provides great posts related to videos and animations.
Click here to read the second method.{Easiest}
Click here to stay updated with this post.
Subscribe to our youtube channel.

Below are some sample videos.


The Next Generation of Aggregation and RSS Readers

I've been thinking ( again ) about RSS readers, what they are, what they are for, where ( if anywhere ) they're going next and lastly, how I might maybe make my own ( on the cheap ) .

What is an RSS reader anyway?

Avoiding the technical specification of what RSS is... it is just a way of collecting explicit subscriptions to news from various sites. It is markedly NOT email.

Along the way, RSS forgot, or were told to forget, they were also aggregators. Aggregators were cousins of RSS readers in that they collected lots of news together and re-published it, normally as a web page. In the olden days ( 2005ish ) there were lots of aggregators. There were tools to make your own aggregators and aggregators were important, in my opinion because they did the hard curatorial work or selecting related news sources and making them available, normally in a format you could subscribe to.

As more and more people came online, producing news, consuming news, many aggregators - who were normally making no money whatsoever - went to the wall. Most desktop-based RSS software tools simply failed under the demands of people who had thousands and thousands of subscriptions. Google Reader, one of the few tools that seemed to handle this scale, slowly wiped out both other RSS readers ( online or desktop based ) AND aggregator tools and sites.


The Next Generation of RSS Readers

The next generation of RSS readers, weren't really RSS readers at all. Tools like
Flipboard and Feedly looked to broaden your news reading reach to bring you both the good stuff and also include your personal connections. One of the big problems with RSS was it's subscribing mechanism, which to this day is way too geeky really. Just explaining to someone what to look for if they wanted to subscribe to a site was a usability nightmare. "It will be called RSS or Atom or Latest Entries" or maybe it's in the source code, oh it might have an orange icon or be called XML".

Removing the "subscription" aspect from news reading kills it dead. The loathsome Summly, is a good example, bringing you the sort of news worse than you find in a free newspaper scattered all over the bus floor.

Feedly tries to extend your news reading range, but in my opinion, does it poorly. One of the BIG problems with new subscriptions is that after a while you get bored of them. Your interests change and migrate and a good news reader tool should allow this to happen naturally and not try to do it, with AI magic, for you.



Where They're All Going Wrong


In an article called Produce Organise Consume ( Jan 2011) I point out the strange division between "bookmarking" or tagging, blogging and reading and that for me they were essentially different aspects of the same thing.

These similar activities start to really come into their own when they start feeding the others. When what you are writing about, or bookmarking starts affecting what you are brought to read, for example.

The hidden glue in these three blobs is Connection. Those connections might be explicit, based on another connection or deduced or part of some fantastic artificial back end joining mysterious pieces together ( although probably not ).




The then 2009ish "holy trinity" of Delicious (for organising), Google Reader(for reading) and Blogger(for writing) is looking like a dead threesome in the water with Delicious foundering and not know what it is anymore, Reader on death row and Blogger slowly dying from neglect in an unknown address.


Production and Consumption have moved to Twitter and Facebook ( Google+ maybe ) and Organisation lurks in Twitter hashtags and trending topics, loosely joining things together. Bringing these three activities together shouldn't be too hard. I don't even think it needs one uber-tool to dominate how they happen ( people are very pernickety about how they work ) but it does need to be thought about.

And it's clear that Google aren't thinking on these simple basic activity lines. Where Google Keep fits into my model is obvious, it's an Organising thing - but it doesn't fit well with the Production or Consumption thing, and it really could. The same is true of Google+ which fails awfully as a tool of Production or Organisation ( it'd be nice to see a page of the hashtags I'd used for example ).



Can I Make My Own Aggregator?

And so, given that the world isn't dancing to my tune, or even in the same beat, I wonder if, on a small scale I could make my own aggregator cum reader cum writing platform cum organiser using parts that already exist. 

There are remarkably few open source tools to run aggregators that I liked, Wp-o-matic and Planet Python being exceptions in that they were easily adaptable into something else, but still far from ideal. To be fair it's years since I looked but I recall trying HUNDREDS of them.

My aggregator would need to be:

  • Small - Not dealing with a huge amount of data
  • Shareable - browsable - subscribeable ( offering search term feeds is great )
  • Accessible via more than the obvious "what's new" interface, including tags and connections etc
  • Run in the cloud
  • Integrate with a Production and Collation process somehow.

The parts that already exist


You've probably guessed that the parts I want to work with are Google Spreadsheets, Google Docs and Apps Script. I don't think I can use a ScriptDB or Fusion table because there would be just too many read/writes to their databases even though they deal with large amounts of data very well.

It would be possible to create an aggregator that collected, say less than a thousand feeds and saved the articles in a Google Spreadsheet. But it's worth paying attention to Google Spreadsheet limits and quotas.

Spreadsheets: 400,000 cells, with a maximum of 256 columns per sheet. 
Number of Tabs: 200 sheets per workbook
Note: The limit on the number of ImportHtml functions per spreadsheet is 50. (from @mhawksey)


So, if I used Google Spreadsheets I might have to have monthly rollover, creating a new spreadsheet for each month. And so that connections between items ( via tags ) worked across months, I might need to render them as HTML and use Google Drive hosting to serve them.

I'm just mulling over if making a very simple aggregator with Google Parts is sensible or not. I would still like to be able to show a TagCloud of news concepts from all the various social media corners of the University of York like the one shown below ( from  of my PPPeoplePPPowered project in 2010 ).



And most interestingly ( to me ) was the ability to connect people and concepts in a network. This was achieved by processing each news article using Open Calais for the concepts contained.



I think what I'm trying to say, that in order to convince people that there is real value in working with blogs ( or whatever means of online connected Production ) you need to "hook them" and show them an explicit example of how everything fits together, but that example can't be one you have chosen, it has to fit their world model.

An real life example I've worn out a little from overuse is when, showing a lecturer how blogging works I suggested they added a tag to their post. They added the tag "ahrc" to a post about working on a funding bid. They clicked the tag and found another lecturer in another department working on the same bid. He said he'd immediately go for a chat and see if there was an opportunity for collaboration.

This stunningly simple example can be made to happen over and over if only we can connect the ephemera of writing and reading and organising from wherever people are doing. I think an aggregator of tweets and wiki edits and Google Site updates and blog posts from York staff would be a start in letting a lot more people into this area of what can seem at times, just too geeky for some.








Tuesday, May 28, 2013

Speed up games with Razer game booster!!

Are you tired of playing games very slow?Do you want to get a boost on your games?Don't worry it is free of cost!You can download razer game booster from iobit for free.It will boost up your game.Iobit has developed this software in partnership with razer,a well known company for gamers.




The application shuts down other applications to deliver speed for your games.This amazing free software offers many features like monitoring cpu&graphics temperature,recording game plays ,taking snapshots,diagnosing problems and of course game boosting.
Download your copy now.
Download here

Monday, May 27, 2013

How to become a full youtube partner? [100% working!2013]

Do you have a youtube channel?Do you have all the partner benefits including banner,custom thumbnails,shows,live streaming,partner promotion,etc..
If no read this post carefully.If you don't want all the partner benefits you can apply youtube's partnership directly from here.If you want to be a full youtube partner with all the benefits you should apply partnership via third party partnership networks.I am a full youtube partner,partnered with the RPM network.You too can become  a full youtube partner by applying partnership here.

Note:Subscribe to their channel or else you won't be accepted.Subscribe here.

You can read more about youtube third party partnerships from the links given below.
There are many third party partnership networks like

Sunday, May 26, 2013

Essential Eclipse Shortcuts keys


File Navigation – Eclipse Shortcuts


  • CTRL SHIFT R – Open a resource. You need not know the path and just part of the file name is enough.
  • CTRL E – Open a file (editor) from within the list of all open files.
  • CTRL PAGE UP or PAGE DOWN – Navigate to previous or next file from within the list of all open files.
  • ALT <- or ALT -> – Go to previous or next edit positions from editor history list.


Java Editing – Eclipse Shortcuts


  • CTRL SPACE – Type assist
  • CTRL SHIFT F – Format code.
  • CTRL O – List all methods of the class and again CTRL O lists including inherited methods.
  • CTRL SHIFT O – Organize imports.
  • CTRL SHIFT U – Find reference in file.
  • CTRL / – Comment a line.
  • F3 – Go to the declaration of the variable.
  • F4 – Show type hierarchy of on a class.
  • CTRL T – Show inheritance tree of current token.
  • SHIFT F2 – Show Javadoc for current element.
  • ALT SHIFT Z – Enclose block in try-catch.


General Editing – Eclipse Shortcuts


  • F12 – Focus on current editor.
  • CTRL L – Go to line number.
  • CTRL D – Delete a line.
  • CTRL <- or -> – Move one element left or right.
  • CTRL M – Maximize editor.
  • CTRL SHIFT P – Go to the matching parenthesis.


Debug, Run – Eclipse Shortcuts


  • CTRL . or , – Navigate to next or previous error.
  • F5 – Step into.
  • F6 – Step over.
  • F8 – Resume
  • CTRL Q – Inspect.
  • CTRL F11 – Run last run program.
  • CTRL 1 – Quick fix code.


Search – Eclipse Shortcuts


  • CTRL SHIFT G – Search for current cursor positioned word reference in workspace
  • CTRL H – Java search in workspace.












---------------------------------------------------------------------------

Eclipse Shortcuts
Essential Eclipse Shortcuts
Effective Eclipse: Shortcut keys 
 useful Keyboard Shortcuts for Eclipse
10 Eclipse Navigation Shortcuts Every Java Programmer Should Know
Top 30 Eclipse Keyboard Shortcuts for Java Programmer
Eclipse Shortcuts 
eyboard Shortcuts Eclipse 
Eclipse getter/setter shortcut key
Eclipse Shortcuts - Java Tutorial Blog
Searches related to eclipse shortcuts
eclipse shortcuts cheat sheet
eclipse shortcuts pdf
eclipse shortcuts cheat sheet pdf
eclipse keyboard shortcuts
eclipse change shortcuts
eclipse shortcuts comment
eclipse shortcuts delete line
eclipse shortcuts for java
10 Best Eclipse Shortcuts 
20 very useful Eclipse IDE Shortcuts. Eclipse Shortcut. Java IDE
Favorite shortcuts in eclipse
List of shortcuts key for Eclipse Java Programming
Eclipse - Shortcuts 

Power Supply Calculator!! {Free! PSU reccomendations also available}

Many of us might be assembling computers.One thing that the shopkeepers doesn't tell is about the PSU or the SMPS wattage requirement.If you are having extreme components in your PC then a 450W PSU might not be sufficient for you.How to calculate  the required wattage PSU?
I will be giving two links to PSU calculators
  1. Newegg.com
          Newegg has a lot of tools like memory finder , ink&toner finder , battery finder , cable finder and   Power Supply wattage calculator.They can also find PSU's for your requirements.

  1. Cooler Master

          They have both advanced calculator and standard calculator.The advanced calculator is a bit confusing for beginners.

Keep visiting our blog for latest updates.Also comment and subscribe to our blog.Please share the blog links to your social media for promoting us.
          



Click here

Friday, May 24, 2013

Google Apps, New Possibilities for Old Tools?

Last week Google announced a number of new Apps Script features that have been added to Google Documents and Forms and Spreadsheets.

The features themselves may not seem worth shouting that loudly about, but the ability to add Sidebars to documents and add menus and arbitrary user interface items that run Apps Script code means you can start to dream about how you could extend and combine these really powerful objects in new ways.

Google Apps was already a collection of powerful objects ( Documents, Spreadsheets, Drive Files, Forms, Calendars, Sites ) that could be easily combined with Apps Script to create really useful applications, but with the arrival of these new features, the ability to combine them can be more elegant. And because you can create tools and interfaces within the documents you can extend the tools - rather than just combine them.

We've already seen a demo of Bibsto, an Apps Script Bibliography manager that changes Google Documents into Research papers - with added tools for adding references and citations.

We are going to see a flourishing of new custom-made add ons to Google Apps, mark my words. For example, Martin Hawksey has already been trying to create a "Document Map" feature, ala Word. There's a feature I'd love... and if only Martin and I want it, so be it.

More importantly, there's a high chance you might create some innovative tool yourself that makes Google Documents work the way you want them to. We'll see add ons for writers or for educators or for marketers or cheese makers or just you.

Ooooh, and it makes me wonder...

One of my long-standing criticisms of Google, from a UX perspective, is that many of their innovations seem isolated from the other ones - meaning simple features get implemented in one product, but not another creating an overall usability glitches of nothing working quite as you'd expect. For example, how search works, drag & drop, document ownership models, commenting, API access etc are just some of the things that work one way in one product and work differently in another.

The future is already here in Google Apps land, it's just not evenly distributed.

And so, whilst it's great that Google are starting to make scripting features available across two or three products, it does make you notice where the gaps are.

Google, being Google, often fail to see what they're sitting on and cock things up. For example, Google Wave should not have been a product, it should have been the real-time commenting system for all Google products. If delivered well, you would have barely noticed its existence ( except maybe you'd notice how appalling other systems were in this regard ).

So, What Should Google Do?

Mind The Gaps

There is something to the "small pieces loosely joined" idea that has legs. Originally it applied, I think, to blogs and RSS and other web2.0 tools that you could "wire together" to create newer, bigger, more complex things. It also applies to the ideas behind unix and maybe Galls Law ( "A complex system that works is invariably found to have evolved from a simple system that worked" ). Google seem to be creating a compelling landscape of tools wired together using Apps Script.

Google simply need to look at what they have and ask "What if the good stuff was everywhere?".

So, where are Presentations and Drawings apps in the "small pieces loosely joined" mix? They're noticeably missing. Now I imagine most people don't really use Google Presentations and Drawings much. I see most people still using Powerpoint ( uploading .ppxs into Google Drive ) and traditional desktop based graphics tools.

Except, what if you could add scripts to shapes in Google Presentations? Scripts that took the user to the next slide, for example, or went to a slide based on which button you clicked. You'd be able to create a narrative experience, or a quiz or a mini learning object that branched in all sorts of directions. Kids could use it.

And what if, like you can in Google Sites, you could insert videos and documents, or get data via Apps Script and put it into fields on screen? You would have an interface builder anyone could use. It would be like an online HyperCard - a tool with which people could pull various resources together and make them work the way they want ( without serious programming ).

If you could script the Drawing app you might be able to create simple animations, or maybe simple visualisations.

And the thing is, all that functionality is sort of sitting there already. It doesn't need much in the way of design, it just needs someone to connect the dots.

And no, Google Presentations or Drawings might not be the *best* tool for creating presentations in, but if they were scriptable, like Documents, they'd suddenly become a new thing, loaded with possibilities, rather than an old thing hanging about being slightly embarrassing.

I think this process of making sure that your innovations touch all parts of your product range is a cheap one to conceive and implement - it's dealing with lots of known knowns.

There are dozens of "Mind The Gap" innovations Google could make that I can guarantee would initiate a huge wave of creativity using Google Tools. How do I know? Well, people are just like that.












Thursday, May 23, 2013

Getting RSS from a site that doesn't offer RSS using Dapper and Yahoo Pipes

I was asked if it was possible to get RSS from a site that doesn't offer RSS.

One site whose content I was interested in was "Community & Networks Connection" - it aggregates lots of "community and collaboration software" news.

 Although the site offers RSS feeds, the news in the RSS feed looks like this below - all of the articles are chunked into daily digests forcing you to click through to the site and never, ever, catching your eye.


Of course it would be possible to screen-scrape the data from the site and republish as RSS, maybe using a scripting language or the excellent ScaperWiki tool, but I really wanted something that anyone could use... in seconds.


Dapper To The Rescue

I began by visiting Dapper, a tool that lets you point and click and select which bits of a page you want to scrape. I began by clicking on the images of the news articles at the top.



After a little fiddling, you can choose whether you want that data in RSS or CSV or even as a Google Map. ( It really does take some fiddling and pruning to work out what you do here. Dapper is an astonishingly wonderful tool, I've never seen anything that does what it does with such elegance, but it does work once you've got your head around it. )

I could then choose to add my new RSS feed to my RSS Reader, but I actually made another Dapp that got the articles lower down the page. That now leaves me with two RSS feeds which I don't really want.

One of the "dapps" I created is here:
http://open.dapper.net/dapp-howto-use.php?dappName=CommunitiesandNetworkConnectionDapperVersion2



Yahoo Pipes To The Rescue

Yahoo Pipes is a wonderful visual tool for "piping" together different information sources and republishing it again. The pipe I created ( shown below ) looks like this and takes the two RSS feeds ( at the top ) from Dapper, joins them together ( Union ) , strips out any duplicates ( Unique ) and lastly filters out any junk posts.



The RSS feed that Yahoo Pipes creates is here:
http://pipes.yahoo.com/pipes/pipe.run?_id=10c40fa02b113c58042af74deead0c1a&_render=rss

And it looks a bit like this:


After a few minutes configuring using point and click tools, I can now keep in touch with the news from the site from my news reader. 

Get Start Menu on Windows 8 for free!!!

Windows 8 is very good OS with its amazing features and performance.I personally love Windows 8 due to its fast boot but I have not yet shifted to windows 8. If you are a windows 8 user you might have noticed that it lacks the handy start menu.This might make many people disappointed.Microsoft has not yet released any updates of windows 8 with a start menu.Microsoft has already made it possible to free download windows 8.1 preview version but we don't know anything about whether it has the start menu or not.In the mean time if you want to have the start menu back on your windows 8 you can follow the below steps(Note: You don't need to re-install windows for this trick).

Steps To Bring Start Menu On Windows 8

  1. Download the windows 8 start menu for free.
  2. Install and enjoy!

Advantages Of Windows 8 Start Menu

  • Easily switch between Metro and Desktop Interface
  • Faster Access To Programs and Files
  • Start Menu Search box
  • Customizable,easy and free to use
You can also try stardock's Start8 start menu for windows 8.
Free Start menu for windows 8
Why you want to have start menu in your windows 8?Leave your comments! (The best reasons will be published in this post)

Wednesday, May 22, 2013

How to get free back links to your site?

Backlinks are links to your site on other sites.They are extremely useful and are important to get more traffic to your site .The other main use is that it will help your site get indexed by google more frequently and faster.It will also help you get a better Google PageRank and Alexa Rank.Getting backlinks is difficult.You will need to comment on other blogs and sites,write guest posts,link exchange,etc.But there is an easy and fast method to get backlinks.

Sites which provide free backlink service.




    Tuesday, May 21, 2013

    How to use Xerces Library to parse the XML file with Visual C++ Project



    The Apache project's Xerces-C libraries support the DOM approach to XML parsing. The entire XML file is imported into memory and the data is held as nodes in a data tree which can be traversed for information.
    The Xerces-C C++ parser home page: http://xml.apache.org/xerces-c/


    So download the latest version of  Xerces Library and place it into your project  folder.
    The Xerces Library folder contains the following files and folders inside it Shown in the picture .



    Now make a new project or open your current project and Right click your project and go to “project properties”. Now go to “VC++ directories” and then go to “Include directories” and give the path of the Xerces Library include folder as shown in the picture below.



    Now go to “VC++ directories” and then go to “Library directories” and give the path of the Xerces Library lib folder as shown in the picture below.



    Now go to “Linker” -> “Input” and then go to “Additional directories” and give the path of the Xerces Library file as shown in the picture below.

    Now write the following code to parse the directories.



    #include <iostream>
    #include <xercesc/dom/DOM.hpp>
    #include <xercesc/dom/DOMElement.hpp>
    #include <xercesc/dom/DOMNode.hpp>
    #include <xercesc/dom/DOMText.hpp>
    #include <xercesc/parsers/XercesDOMParser.hpp>
    #include <xercesc/sax/HandlerBase.hpp>

    using namespace std;
    using namespace xercesc;

    void write(DOMNode* node);
    void writeElement(DOMElement* element);
    void writeText(DOMText* text);

    void
    write(DOMNode* node) {
         if (node) {
               switch (node->getNodeType()) {
               case DOMNode::ELEMENT_NODE:
                    writeElement(static_cast<DOMElement*>(node));
                    break;
               case DOMNode::TEXT_NODE:
                    writeText(static_cast<DOMText*>(node));
                    break;
               }

               DOMNode* child = node->getFirstChild();
               while (child) {
                    DOMNode* next = child->getNextSibling();
                    write(child);
                    child = next;
               }
         }
    }

    void
    writeElement(DOMElement* element) {
         char* name = XMLString::transcode(element->getTagName());
         cout << "tag    : " << name << endl;
         XMLString::release(&name);

         DOMNamedNodeMap* map = element->getAttributes();
         for (XMLSize_t i = 0; i < map->getLength(); i++) {
               DOMAttr* attr = static_cast<DOMAttr*>(map->item(i));
               char* attr_name  = XMLString::transcode(attr->getName());
               char* attr_value = XMLString::transcode(attr->getValue());
               cout << attr_name << ": "<< attr_value << endl;

               XMLString::release(&attr_name);
               XMLString::release(&attr_value);
         }
    }

    void
    writeText(DOMText* text) {
         XMLCh* buffer = new XMLCh[XMLString::stringLen(text->getData()) + 1];
         XMLString::copyString(buffer, text->getData());
         XMLString::trim(buffer);
         char* content=XMLString::transcode(buffer);
         delete[] buffer;

         cout << "content: " << content << endl;
         XMLString::release(&content);
    }

    int main(int argc, char* args[]) {

         try {
               XMLPlatformUtils::Initialize();
         } catch (const XMLException& toCatch) {
               char* message = XMLString::transcode(toCatch.getMessage());
               cout << "Error during initialization! :\n" << message << "\n";
               XMLString::release(&message);
               return 1;
         }

         XercesDOMParser* parser = new XercesDOMParser();
         parser->setValidationScheme(XercesDOMParser::Val_Always);
         parser->setDoNamespaces(true); // optional

         ErrorHandler* errHandler = (ErrorHandler*) new HandlerBase();
         parser->setErrorHandler(errHandler);

         const char* xmlFile = "samples/data/personal.xml";

         try {
               parser->parse(xmlFile);
               DOMDocument* dom = parser->getDocument();
               write(dom);
         } catch (const XMLException& toCatch) {
               char* message = XMLString::transcode(toCatch.getMessage());
               cout << "Exception message is: \n" << message << "\n";
               XMLString::release(&message);
               return -1;
         } catch (const DOMException& toCatch) {
               char* message = XMLString::transcode(toCatch.msg);
               cout << "Exception message is: \n" << message << "\n";
               XMLString::release(&message);
               return -1;
         } catch (...) {
               cout << "Unexpected Exception \n";
               return -1;
         }

         delete parser;
         delete errHandler;
         return 0;
    }






    Compile:
    RPM installed: g++ -g -Wall -pedantic -lxerces-c parser.cpp -DMAIN_TEST -o parser 

    or
    Installed to "/opt": g++ -g -Wall -pedantic -I/opt/include -L/opt/lib -lxerces-c parser.cpp -DMAIN_TEST -o parser



    Now Run  the program..


































































    -----------------------------------------------------


    Searches related to xerces c++ example
    xerces xpath example c++
    xerces c++ tutorial
    xerces c++ sax parser example
    xerces samples
    libxerces
    Xerces for C++ Using Visual C++
    Searches related to xerces visual c++ example
    visual studio example
    visual basic example
    C++ XML with Xerces
    Configuring Xerces-C++ XML Libraries with Visual Studio 2008
    c++ parse xml
    c++ read xml
    Xerces for C++ Tutorial Using Visual C++
    xml reader c++
    Linux Tutorial: Parsing XML with Xerces-C C++ API
    Xerces-C++ Samples
    Xerces for C++ Tutorial Using Visual C++ 
    Xerces for C++







    Blog Archive

     

    © 2013 Klick Dev. All rights resevered.

    Back To Top