Download NHK English news podcast automatically. XML Parser "spxml" is used. This application requires mpod mother board. See also http://mbed.org/users/geodenx/notebook/mpod/
Dependencies: BlinkLed HTTPClient EthernetInterface FatFileSystemCpp MSCFileSystem spxml mbed-rtos mbed
Fork of mpod_nhk_english by
Download NHK English news podcast automatically.
XML Parser "spxml" is used.
This application requires mpod mother board.
See also http://mbed.org/users/geodenx/notebook/mpod/
Revision 6:84749589b532, committed 2012-08-24
- Comitter:
- togayan
- Date:
- Fri Aug 24 17:00:07 2012 +0000
- Parent:
- 5:e87211ff9c23
- Child:
- 7:ad9fcf0e1bc5
- Commit message:
- Remove some printf().
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Aug 20 13:50:00 2012 +0000 +++ b/main.cpp Fri Aug 24 17:00:07 2012 +0000 @@ -68,12 +68,9 @@ SP_XmlCDataNode * lastBuildDateNode = rootHandle.getChild( "channel" ).getChild( "lastBuildDate" ).getChild(0).toCData(); if( NULL != lastBuildDateNode ) { - printf( "Find /rss/channel/lastBuildDate/text()\n"); - printf("text() of lastBuildDate: %s\n", lastBuildDateNode->getText()); strcpy(lastBuildDateOriginal, lastBuildDateNode->getText()); } else { - printf( "Cannot found /rss/channel/lastBuildDate/text()\n" ); - sprintf(lastBuildDateOriginal, "Cannot found /rss/channel/lastBuildDate/text()"); + sprintf(lastBuildDateOriginal, "Cannot found /rss/channel/lastBuildDate"); } } } @@ -113,8 +110,6 @@ SP_XmlCDataNode * lastBuildDateNode = rootHandle.getChild( "channel" ).getChild( "lastBuildDate" ).getChild(0).toCData(); if( NULL != lastBuildDateNode ) { - printf( "Find /rss/channel/lastBuildDate/text()\n"); - printf("text() of lastBuildDate: %s\n", lastBuildDateNode->getText()); strcpy(lastBuildDateCurrent, lastBuildDateNode->getText()); } else { fsusb30s = 1; // HSD2