OPMLParse.cpp 679 B

123456789101112131415161718192021222324252627282930313233
  1. #if 0
  2. #include "main.h"
  3. #include "OPMLParse.h"
  4. #ifdef DEBUG
  5. #include <iostream>
  6. static void DisplayNodes(XMLNode &node)
  7. {
  8. XMLNode::NodeMap::iterator nodeItr;
  9. for (nodeItr = node.nodes.begin();nodeItr != node.nodes.end(); nodeItr++)
  10. {
  11. for (XMLNode::NodeList::iterator itr = nodeItr->second.begin(); itr != nodeItr->second.end(); itr++)
  12. {
  13. std::wcerr << L"<" << nodeItr->first << L">" << std::endl;
  14. DisplayNodes(**itr);
  15. std::wcerr << L"</" << nodeItr->first << L">" << std::endl;
  16. }
  17. }
  18. }
  19. #endif
  20. void OPMLParse::ReadNodes(const wchar_t *url)
  21. {
  22. // DisplayNodes(xmlNode);
  23. Alias<XMLNode> curNode;
  24. curNode = xmlNode.Get(L"opml");
  25. if (!curNode)
  26. return;
  27. }
  28. #endif