vnews 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.markdown +18 -15
- data/lib/vnews/display.rb +1 -1
- data/lib/vnews/version.rb +1 -1
- metadata +2 -2
    
        data/README.markdown
    CHANGED
    
    | @@ -15,6 +15,7 @@ web-based. Here are some of Vnews's advantages: | |
| 15 15 | 
             
            Vnews uses MySQL to store your feed data locally. It uses MySQL's MyISAM
         | 
| 16 16 | 
             
            tables to provide natural-language full-text search capability.
         | 
| 17 17 |  | 
| 18 | 
            +
            Vnews is free and open-source.
         | 
| 18 19 |  | 
| 19 20 | 
             
            ## Prerequisites
         | 
| 20 21 |  | 
| @@ -71,13 +72,6 @@ You must edit this file to match your MySQL settings, and then run | |
| 71 72 | 
             
            to generate the MySQL database that will store your feed data. Leave
         | 
| 72 73 | 
             
            `password:` blank if you don't use a MySQL password.
         | 
| 73 74 |  | 
| 74 | 
            -
            To use MacVim as your Vnews Vim engine, you can run vnews like this
         | 
| 75 | 
            -
             | 
| 76 | 
            -
                VNEWS_VIM=mvim vnews
         | 
| 77 | 
            -
             | 
| 78 | 
            -
            or you can `export VNEWS_VIM=mvim` in your `~/.bash_profile` and then
         | 
| 79 | 
            -
            just run `vnews`.
         | 
| 80 | 
            -
             | 
| 81 75 | 
             
            ## Configuring your feeds
         | 
| 82 76 |  | 
| 83 77 | 
             
            To configure your feeds, edit the bottom part of the `.vnewsrc` file.
         | 
| @@ -113,14 +107,23 @@ removing feeds). Then Vnews will update all your feeds and start a Vnews | |
| 113 107 | 
             
            session.  If you don't want to start a Vnews session (e.g. if you want
         | 
| 114 108 | 
             
            to run this as a cron job), use `vnews -U` instead.
         | 
| 115 109 |  | 
| 110 | 
            +
            ## Starting Vnews
         | 
| 116 111 |  | 
| 117 | 
            -
             | 
| 112 | 
            +
                vnews
         | 
| 118 113 |  | 
| 119 | 
            -
             | 
| 120 | 
            -
             | 
| 121 | 
            -
             | 
| 114 | 
            +
            will start a Vnews session. `vnews -u` will update all your feeds and
         | 
| 115 | 
            +
            then start a session.
         | 
| 116 | 
            +
             | 
| 117 | 
            +
            To use MacVim as your Vnews Vim engine, you can run vnews like this
         | 
| 118 | 
            +
             | 
| 119 | 
            +
                VNEWS_VIM=mvim vnews
         | 
| 120 | 
            +
             | 
| 121 | 
            +
            or you can `export VNEWS_VIM=mvim` in your `~/.bash_profile` and then
         | 
| 122 | 
            +
            just run `vnews`.
         | 
| 123 | 
            +
             | 
| 124 | 
            +
            ## Basic navigation
         | 
| 122 125 |  | 
| 123 | 
            -
             | 
| 126 | 
            +
            After you start Vnews, you should see the feed items for all your feeds
         | 
| 124 127 | 
             
            in one consolidated list.
         | 
| 125 128 |  | 
| 126 129 | 
             
            * `j` moves up the item list
         | 
| @@ -142,7 +145,7 @@ positioning commands. | |
| 142 145 | 
             
            * `,m` calls up the feed selection window, sorted alphabetically
         | 
| 143 146 | 
             
            * `,M` calls up the feed selection window, sorted by the number of times you read an item from each feed
         | 
| 144 147 |  | 
| 145 | 
            -
            For all of  | 
| 148 | 
            +
            For all of these commands, you'll see an autocomplete window appear at the
         | 
| 146 149 | 
             
            top.  The standard Vim autocomplete keystrokes apply:
         | 
| 147 150 |  | 
| 148 151 | 
             
            * `C-p` and `C-n` move you up and down the match list
         | 
| @@ -166,7 +169,7 @@ Unread items are marked with a `+` symbol. | |
| 166 169 |  | 
| 167 170 | 
             
            You can star interesting feed items by using `,*` or `,8` (both use the
         | 
| 168 171 | 
             
            same keys, the only difference being the SHIFT key). Starred items are
         | 
| 169 | 
            -
            colored green and made available in  | 
| 172 | 
            +
            colored green and made available in the special `Starred` folder.
         | 
| 170 173 |  | 
| 171 174 | 
             
            Starred items don't get deleted when you remove the feed they came
         | 
| 172 175 | 
             
            from from your `.vnewsrc` configuration file. 
         | 
| @@ -250,7 +253,7 @@ folder by pressing `u`. | |
| 250 253 |  | 
| 251 254 | 
             
            ## OPML import
         | 
| 252 255 |  | 
| 253 | 
            -
            If you want to import an OPML  | 
| 256 | 
            +
            If you want to import an OPML export of your feed subscriptions into
         | 
| 254 257 | 
             
            Vnews, use this command:
         | 
| 255 258 |  | 
| 256 259 | 
             
                vnews --opml [file]
         | 
    
        data/lib/vnews/display.rb
    CHANGED
    
    | @@ -67,7 +67,7 @@ class Vnews | |
| 67 67 | 
             
                  feed_title = col i['feed_title'], varwidth * 0.25
         | 
| 68 68 | 
             
                  title = col i['title'], varwidth * 0.75
         | 
| 69 69 | 
             
                  word_count = i['word_count'].to_s.rjust(6)
         | 
| 70 | 
            -
                  date = format_date(i['pub_date']).rjust( | 
| 70 | 
            +
                  date = format_date(i['pub_date']).rjust(8) 
         | 
| 71 71 | 
             
                  spacer = " " * 20 # to push guid all the way off screen
         | 
| 72 72 | 
             
                  guid = i['guid']
         | 
| 73 73 |  | 
    
        data/lib/vnews/version.rb
    CHANGED