aboutsummaryrefslogtreecommitdiff
path: root/doc/git-annex-importfeed/comment_1_d0197108d07873040e46577df1faadbd._comment
blob: 0d97406d986bc34e629a1f4cd35efd2dfa64a94b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[[!comment format=mdwn
 username="joseph.rawson.works@85a210ab8c0e37a0b2d6bb235738b20e23e8878f"
 nickname="joseph.rawson.works"
 subject="Replacing dashes with underscores"
 date="2015-12-28T22:39:49Z"
 content="""
An example rss item entry:

    <item><title>00135929509939-04</title><guid isPermaLink=\"false\">http://40.media.tumblr.com/01a46c39dc0e0f3447fbed4f0807047f/tumblr_nyoj75VlaG1sgxjc6o3_1280.jpg</guid><enclosure url=\"http://40.media.tumblr.com/01a46c39dc0e0f3447fbed4f0807047f/tumblr_nyoj75VlaG1sgxjc6o3_1280.jpg\" length=\"0\" type=\"\"/></item>

Using --template '${itemtitle}${extension}'

The resulting filename is **00135929509939_04.jpg** (The dash was replaced with an underscore).

I decided to just change all the filenames in each blog repository to use underscores, however, I thought you might want to know about this.
"""]]