Merge pull request #7 from brentsimmons/master

merge from upstream
This commit is contained in:
Olof Hellman 2019-07-30 19:44:30 -07:00 committed by GitHub
commit a18a38b5a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 98 additions and 9 deletions

View File

@ -85,6 +85,9 @@
<property name="type" code="ATyp" type="account type" access="r" description="The type of the account">
<cocoa key="accountType"/>
</property>
<property name="active" code="Actv" type="boolean" access="rw" description="Whether or not the account is active">
<cocoa key="scriptingIsActive"/>
</property>
<property name="contents" code="Cnts" access="r" description="The type of the account">
<cocoa key="contents"/>
<type type="account item" list="yes"/>

View File

@ -26,6 +26,16 @@ class ScriptableAccount: NSObject, UniqueIdScriptingObject, ScriptingObjectConta
return (scriptObjectSpecifier)
}
@objc(scriptingIsActive)
var scriptingIsActive: Bool {
get {
return account.isActive
}
set {
account.isActive = newValue
}
}
// MARK: --- ScriptingObject protocol ---
var scriptingKey: String {

View File

@ -6,7 +6,7 @@ NetNewsWire collects items for you from feeds published on web sites. To do this
*Its okay if you dont know that.* NetNewsWire will look at any web page and try to find it for you. All you need to give is the sites URL, like `inessential.com`.
To get started, click the Add Feed button on the toolbar, or use File → New Feed (⌘-N) from the menu bar.
To get started, click the Add Feed button on the toolbar, or use **File → New Feed** (⌘-N) from the menu bar.
If youve got the address already great! Type it or paste it into the URL box. Otherwise, just enter the websites address into the box.

View File

@ -0,0 +1,15 @@
@title Contributing
# Contributing
NetNewsWire is open-source and contributions from the community are welcomed.
There are two channels for contributing. There is a Slack group for conducting discussions. For filing tickets, and contributing code or documentation, we use GitHub.
## Slack
[Join the Slack group](https://join.slack.com/t/netnewswire/shared_invite/enQtNjM4MDA1MjQzMDkzLTNlNjBhOWVhYzdhYjA4ZWFhMzQ1MTUxYjU0NTE5ZGY0YzYwZWJhNjYwNTNmNTg2NjIwYWY4YzhlYzk5NmU3ZTc) to talk with other NetNewsWire users — and to help out, if youd like to, by testing, coding, writing, providing feedback, or just helping us think things through. Everybody is welcome and encouraged to join.
## GitHub
The [NetNewsWire project on GitHub](https://github.com/brentsimmons/NetNewsWire) is the place to raise formal issues like bugs and feature requests. If you want to make contributions to NetNewsWires code or documentation, please refer to our [contribution guidelines](https://github.com/brentsimmons/NetNewsWire/blob/master/CONTRIBUTING.md) page on GitHub.

View File

@ -0,0 +1,9 @@
@title Deleting feeds and folders
# Deleting feeds and folders
To delete a feed or folder, select it from the subscription list and choose **Edit → Delete** from the menu bar. Alternatively, select the feed and press the **delete** key.
## Undo deleting a feed or folder
If you change your mind, you can undo the deletion by selecting **Edit → Undo** in the menu bar or pressing ⌘-Z.

View File

@ -11,19 +11,19 @@ More topics to do…
[How to import OPML](import-opml.html)
How to export OPML
[How to export OPML](export-opml.html)
How to go through your articles (take special note of the space bar and the n key)
[How to go through your articles](reading-articles.html)
Sharing to other apps, including MarsEdit and Micro.blog
How to delete feeds and folders (note that undo is available)
[How to delete feeds and folders](deleting-feeds-folders.html)
How to add a syncing account
How to contribute (GitHub, Slack)
[How to contribute](contributing.html)
How to get NetNewsWire news (see Help menu command)
[How to get NetNewsWire news](netnewswire-news.html)
Keyboard shortcuts (see Help menu command)

View File

@ -0,0 +1,13 @@
@title How to get NetNewsWire news
# How to get NetNewsWire news
The very best way to get news about NetNewsWire is with NetNewsWire itself, using the *NetNewsWire News Feed*. Important and notable news about NetNewsWire will appear there: new version announcements, critical bug notices, tech notes and important project announcements.
## Add the NetNewsWire News Feed
The NetNewsWire News Feed is part of the default subscription list installed the first time you launched NetNewsWire. If its no longer in your list, its easy to add it back.
In the menu bar, select **Help → Add NetNewsWire News Feed**. NetNewsWire will open the [New Feed dialog](adding-feeds.html) pre-filled with the name and address (`https://nnw.ranchero.com/feed.json`). Click Add.
Now youll always be up to date with whats happening with NetNewsWire.

View File

@ -0,0 +1,39 @@
@title How to go through your articles
# How to go through your articles in NetNewsWire
NetNewsWire was built to make it easy to read your articles one-handed. This is perfect for when your other hand is occupied with a warm drink or an insistent furry friend.
One-handed reading is accomplished with keyboard shortcuts. NetNewsWires shortcuts are special because they only require pressing *a single key*.
(For a full list of keyboard shortcuts, including Command (⌘) key alternatives, see the [Keyboard Shortcuts](keyboard-shortcuts.html) help page, or use **Help → Keyboard Shortcuts** in NetNewsWire.)
## Use the Space bar
The easiest way to read articles in NetNewsWire is using the **space bar**.
If youre reading an article that can be scrolled, pressing **space bar** will scroll it just like it would in Safari. If youre at the end of the article, **space bar** will take you to the next unread article.
## Go to Next Unread
Sometimes you may want to skip reading an article entirely thats totally fine! Rather than press space bar multiple times, you can jump directly to the next unread item by pressing ⌘-/ or just press **n** or **+**.
If you want to skip the article for now, but plan to come back to it later, the **m** key is for you. Pressing it will mark the current article as unread and then go to the *next unread* item.
## Moving around lists
You may not always want to read linearly imagine theres a new article on [Julia Evans](https://jvns.ca) site you want to read first. You still dont need to leave the keyboard.
Pressing the left and right arrow keys will move you between the three panes in the NetNewsWire interface. Those panes are, from the left, the subscriptions list (sidebar), articles list timeline (centre pane) and the full article detail pane (right). The selected items highlight colour gives you a hint to which pane is active.
In the subscription and article lists, the up and down arrow keys will change the currently selected item.
## Marking as read or unread
As you zip through the NetNewsWire interface, you may want to mark an article as read or unread. The easiest way to do this is use the **r** and **u** keys, respectively.
Again, see the [Keyboard Shortcuts](keyboard-shortcuts.html) help page or **Help → Keyboard Shortcuts** in NetNewsWire for a full list of keyboard shortcuts.

View File

@ -12,7 +12,7 @@ The Safari Extension is installed automatically with NetNewsWire. However, it mu
You will enable the extension in Safari:
1. Open Safari
2. Click on the **Safari** menu and select **Preferences…** (⌘,)
2. Click on the **Safari** menu and select **Preferences…** (⌘-,)
3. Click the **Extensions** panel
4. From the list, click the checkbox beside **Subscribe to Feed** to enable the extension
5. Close the Preferences window