{"action":"opened","issue":{"url":"https://api.github.com/repos/bobbingwide/bigram/issues/6","repository_url":"https://api.github.com/repos/bobbingwide/bigram","labels_url":"https://api.github.com/repos/bobbingwide/bigram/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/bobbingwide/bigram/issues/6/comments","events_url":"https://api.github.com/repos/bobbingwide/bigram/issues/6/events","html_url":"https://github.com/bobbingwide/bigram/issues/6","id":156552987,"number":6,"title":"Provide an easy to use form for creating bigrams from iPhone/iPad","user":{"login":"bobbingwide","id":2474435,"avatar_url":"https://avatars.githubusercontent.com/u/2474435?v=3","gravatar_id":"","url":"https://api.github.com/users/bobbingwide","html_url":"https://github.com/bobbingwide","followers_url":"https://api.github.com/users/bobbingwide/followers","following_url":"https://api.github.com/users/bobbingwide/following{/other_user}","gists_url":"https://api.github.com/users/bobbingwide/gists{/gist_id}","starred_url":"https://api.github.com/users/bobbingwide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobbingwide/subscriptions","organizations_url":"https://api.github.com/users/bobbingwide/orgs","repos_url":"https://api.github.com/users/bobbingwide/repos","events_url":"https://api.github.com/users/bobbingwide/events{/privacy}","received_events_url":"https://api.github.com/users/bobbingwide/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-24T16:32:05Z","updated_at":"2016-05-24T16:32:05Z","closed_at":null,"body":"On my PC I can use batch processing to create a new bigram. \r\nThe process is still a little long winded though.\r\n\r\n1. Change directory to the folder containing the image to upload.\r\n2. Edit the image that contains the SB bigram\r\n3. Rename the file to \"S-word B-word.ext\"\r\n4. Invoke oikwp from the bigram plugin folder to run bigram_run_bigram() passing the file name and a short description and the directory for the image.  This is made a little easier using the `sb.bat` file.\r\n\r\n```\r\n@echo off\r\nrem (C) Copyright Bobbing Wide 2016\r\nsetlocal\r\nset cd=%CD%\r\ncd \\apache\\htdocs\\bigram\\wp-content\\plugins\\bigram\r\noikwp bigram.php %* dir=\"%cd%\"\r\nendlocal\r\n```\r\n\r\n### Requirement\r\n\r\nI want to be able to create new bigrams from screen captures on my iPhone / iPad, using a simple upload method directly into the site. \r\n- The uploaded image file should become \"S-word B-word.ext\"\r\n- The Category should be selectable.\r\n- The title should be determined from the S-word and B-word\r\n- The S-word and B-word need to be sanitized bravely\r\n- Preferably the bigram should be dated when the image was created\r\n\r\n## Proposed solution\r\n- [ ] Develop oik-media plugin with 'media' type field and file upload capability\r\n- [ ] Extend [bw_new] to allow for uploading files\r\n- [ ] Extend [bw_new] to allow additional validation & processing before the content is created\r\n- [ ] Extend [bw_new] to support immediate publication of a post when the user is logged in with required capability\r\n- [ ] Extend [bw_new] to support redisplay of the form for logged in users.\r\n- [ ] Implement action hooks and filters in bigram to perform all the necessary processing to rename the media file after upload and attach it to the matching SB bigram\r\n- [ ] Automate the setting of SEO post meta data\r\n\r\n"}}
{"actor":{"display_login":"bobbingwide"}}