Skip to content
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.

Commit

Permalink
remove commented out code in fulltext fxns, bump to v0.6.4, updated n…
Browse files Browse the repository at this point in the history
…ews and cran comemnts
  • Loading branch information
sckott committed Nov 23, 2016
1 parent 2152297 commit 39a1eaa
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 6 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Description: A programmatic interface to the 'SOLR' based
articles, making plots, doing 'faceted' searches,
'highlight' searches, and viewing results of 'highlighted'
searches in a browser.
Version: 0.6.3.9100
Version: 0.6.4
License: MIT + file LICENSE
Authors@R: c(
person("Scott", "Chamberlain", role = c("aut", "cre"), email = "[email protected]"),
Expand Down
15 changes: 15 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
rplos 0.6.4
-----------

### MINOR IMPROVEMENTS

* URLs to full text XML have been changed - old URLs were working
but were going through 2 302 redirects to get there. Updated URLs.
(#107)

### BUG FIXES

* Fixed `content-type` check for `plos_fulltext()` function. XML
can be either `application/xml` or `text/xml` (#108)


rplos 0.6.0
------------

Expand Down
2 changes: 0 additions & 2 deletions R/fulltext.R
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ full_text_urls <- function(doi) {
ub <- 'http://journals.plos.org/plosclinicaltrials/article/asset?id=%s.XML'
sprintf(ub, x)
} else {
# ub <- 'http://www.%s.org/article/fetchObject.action?uri=info:doi/%s&representation=XML'
# ub <- 'http://journals.plos.org/%s/article/asset?id=%s.XML'
ub <- 'http://journals.plos.org/%s/article/file?id=%s&type=manuscript'
sprintf(ub, journal, x)
}
Expand Down
8 changes: 5 additions & 3 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
## Test environments

* local OS X install, R 3.3.1
* ubuntu 12.04 (on travis-ci), R 3.3.1
* local OS X install, R 3.3.2
* ubuntu 12.04 (on travis-ci), R 3.3.2
* win-builder (devel and release)
* R-hub (xxx)

## R CMD check results

Expand All @@ -21,7 +22,8 @@

----------

This submission includes a number of minor changes.
This version includes a bug fix and updates to URLs for full text
XML content of articles.

Thanks!
Scott Chamberlain

0 comments on commit 39a1eaa

Please sign in to comment.