Skip to content

Commit 4152a81

Browse files
Merge pull request #54 from readium/develop
1.0.8
2 parents fb19e65 + d0bcac4 commit 4152a81

File tree

8 files changed

+28
-11
lines changed

8 files changed

+28
-11
lines changed

opds/Cartfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
github "readium/r2-shared-swift" == 1.2.8
2-
github "cezheng/Fuzi" == 2.2.1
1+
github "readium/r2-shared-swift" == 1.2.11
2+
github "edrlab/Fuzi" == 2.2.2

opds/Cartfile.resolved

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
github "cezheng/Fuzi" "2.2.1"
2-
github "readium/r2-shared-swift" "1.2.8"
1+
github "edrlab/Fuzi" "2.2.2"
2+
github "readium/r2-shared-swift" "1.2.11"

opds/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ ReadiumOPDS with CocoaPods:
6464
use_frameworks!
6565
6666
target 'YourAppTargetName' do
67-
pod 'ReadiumOPDS', :git => 'https://github.com/readium/r2-opds-swift.git', '~> 1.0.4'
67+
pod 'ReadiumOPDS', :git => 'https://github.com/readium/r2-opds-swift.git'
6868
end
6969
```
7070

@@ -87,7 +87,7 @@ import ReadiumOPDS
8787
#### Dependencies in this module
8888

8989
- [R2Shared](https://github.com/readium/r2-shared-swift) : Custom types shared by several readium-2 Swift modules.
90-
- [Fuzi](https://github.com/cezheng/Fuzi) : A fast & lightweight XML & HTML parser in Swift with XPath & CSS support.
90+
- [Fuzi](https://github.com/edrlab/Fuzi) : A fast & lightweight XML & HTML parser in Swift with XPath & CSS support.
9191

9292
Modifications needed in Xcode:
9393

opds/readium-opds.xcodeproj/project.pbxproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@
165165
hasScannedForEncodings = 0;
166166
knownRegions = (
167167
en,
168+
Base,
168169
);
169170
mainGroup = F34B7E431FA35B7900534FD3;
170171
productRefGroup = F34B7E4E1FA35B7900534FD3 /* Products */;
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>FILEHEADER</key>
6+
<string>
7+
// ___FILENAME___
8+
// ___PROJECTNAME___
9+
//
10+
// Created by ___FULLUSERNAME___ on ___DATE___.
11+
//
12+
// Copyright ___YEAR___ Readium Foundation. All rights reserved.
13+
// Use of this source code is governed by a BSD-style license which is detailed
14+
// in the LICENSE file present in the project repository where this source code is maintained.
15+
//</string>
16+
</dict>
17+
</plist>

opds/readium-opds.xcodeproj/xcshareddata/xcschemes/readium-opds.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1010"
3+
LastUpgradeVersion = "1020"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

opds/readium-opds/OPDS1Parser.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ public class OPDS1Parser: Loggable {
106106
/// - parameter document: The XMLDocument data
107107
/// - Returns: The resulting Feed
108108
public static func parse(document: XMLDocument) throws -> Feed {
109-
document.definePrefix("thr", defaultNamespace: "http://purl.org/syndication/thread/1.0")
110-
document.definePrefix("dcterms", defaultNamespace: "http://purl.org/dc/terms/")
111-
document.definePrefix("opds", defaultNamespace: "http://opds-spec.org/2010/catalog")
109+
document.definePrefix("thr", forNamespace: "http://purl.org/syndication/thread/1.0")
110+
document.definePrefix("dcterms", forNamespace: "http://purl.org/dc/terms/")
111+
document.definePrefix("opds", forNamespace: "http://opds-spec.org/2010/catalog")
112112

113113
guard let root = document.root else {
114114
throw OPDS1ParserError.rootNotFound

opds/readium-opdsTests/readium_opds1_1_test.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
import XCTest
1010

11-
import AEXML
1211
import R2Shared
1312

1413
@testable import ReadiumOPDS

0 commit comments

Comments
 (0)