Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
printpagestopdf committed Jun 4, 2021
1 parent b854769 commit e072288
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 5 deletions.
24 changes: 22 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,37 @@
# WordpressDrive

## Description
## About

WordpressDrive is a Windows Userspace Filesystem, that lets you access any Wordpress Site, that supports the Wordpress REST API (default) as a Windows Drive (Share).

Posts and Pages are organized in Folders as HTML Files. Media File types are represented by their file type depending from extension.

The Application starts as a taskbar icon, all user interaction can be started from there. Working with Wordpress data happens with the standard Windows tools (Explorer, CMD, ...).

Based on **WinFSP by Bill Zissimopoulos** [https://github.com/billziss-gh/winfsp](https://github.com/billziss-gh/winfsp)<br/>

## Usage
You can start WordpressDrive from the Startmenu (or put it into autostart).

![](assets/StartupMenu.png"Logo Title Text 1")
![Screenshot](assets/StartupMenu.png)

On first startup (empty hostlist) the settings window is opened automatically, and new Wordpress host(s) can be registered.

![Screenshot](assets/SettingsFirst.png)

Minimum host information is the Wordpress host url. If you don't want to login to the Wordpress site check "anonymous login". For you convinience give it a display name.
Closing the settings window (x cross at the top) will save this entry(s).

If you want to connect to your registered host you will find the WordpressDrive Icon in the Taskbar.

![Screenshot](assets/WpdIcon.png)

You open the popup Menu by using the right mouse button on the icon. Now you can select a host to connect to it (you will get a message if connection was successful).

If you want to work with the connected Wordpress host open e.g. the windows file explorer und you will find the drive connected:

![Screenshot](assets/FileExplorer.png)


## Installation
Download the latest Release from [here](https://github.com/printpagestopdf/WordpressDrive/releases/latest).
Expand Down
7 changes: 4 additions & 3 deletions WordpressDrive/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,14 @@ protected void BuildMenu()

public void UpdateMenu()
{
if (_notifyIcon == null) return;
if (_notifyIcon == null ||
!_notifyIcon.Dispatcher.Thread.Equals(System.Threading.Thread.CurrentThread)) return;

for(int i=_notifyIcon.ContextMenu.Items.Count - 1; i>=0; i--)
for (int i = _notifyIcon.ContextMenu.Items.Count - 1; i >= 0; i--)
{
if (!(_notifyIcon.ContextMenu.Items[i] is System.Windows.Controls.MenuItem)) continue;
System.Windows.Controls.MenuItem mi = _notifyIcon.ContextMenu.Items[i] as System.Windows.Controls.MenuItem;
if (mi.CommandParameter !=null && (mi.CommandParameter is Settings.HostSettings))
if (mi.CommandParameter != null && (mi.CommandParameter is Settings.HostSettings))
_notifyIcon.ContextMenu.Items.RemoveAt(i);
}

Expand Down
Binary file added assets/FileExplorer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/SettingsFirst.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/WpdIcon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e072288

Please sign in to comment.