• R/O
  • HTTP
  • SSH
  • HTTPS

提交

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

iSightを使ってBooklog,MediaMarkerインポート用CSVファイルを生成するアプリ


Commit MetaInfo

修订版7f943b7832780e3a2c85cdba32fd0a4aea6429ba (tree)
时间2012-03-25 16:50:10
作者masakih <masakih@user...>
Commitermasakih

Log Message

[Mod] 新しいBooklog形式に対応

更改概述

差异

--- a/BEBooklogBooksExporter.m
+++ b/BEBooklogBooksExporter.m
@@ -56,20 +56,18 @@
5656 - (NSString *)lineForBook:(BEBookInformation *)book
5757 {
5858 return [NSString stringWithFormat:
59- @"%@\t%@\t%@\t%@\t%@\t%@\t%@\t%@\t%@\t%@\t%@\t%@\t%@",
60- normalizeString(book.asin),
61- normalizeString(book.isbn),
62- normalizeString(book.title),
63- normalizeString(book.author),
64- normalizeString(book.manufacturer),
65- normalizeString([publicateionDateFormatter stringFromDate:book.publicationDate]),
66- normalizeString(@"Books"),
67- normalizeString(book.category),
68- normalizeString([book.rating stringValue]),
69- normalizeString(book.review),
70- normalizeString([self statusNameWithBook:book]),
71- normalizeString([registerDateFormatter stringFromDate:book.readDate]),
72- normalizeString([registerDateFormatter stringFromDate:book.registerDate])];
59+ @"\"1\",\"%@\",\"%@\",\"%@\",\"%@\",\"%@\",\"%@\",\"%@\",\"%@\",\"%@\",\"%@\"",
60+ doubleQuoteQuotedString(book.asin),
61+ doubleQuoteQuotedString(book.isbn),
62+ doubleQuoteQuotedString(book.category),
63+ doubleQuoteQuotedString([book.rating stringValue]),
64+ doubleQuoteQuotedString([self statusNameWithBook:book]),
65+ doubleQuoteQuotedString(book.review),
66+ doubleQuoteQuotedString(tagsString(book.tags)),
67+ @"",
68+ doubleQuoteQuotedString([registerDateFormatter stringFromDate:book.registerDate]),
69+ doubleQuoteQuotedString([registerDateFormatter stringFromDate:book.readDate])];
70+
7371 }
7472 - (BOOL)needsNewLineAtEndOfFile
7573 {