Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 03-28-2011, 07:44 PM   #31
jackie_w
Wizard
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 2,857
Karma: 4200035
Join Date: Sep 2009
Location: UK
Device: Sony PRS-350, PB360, Kobo Glo/AuraHD/Aura6"/AuraH2O
@kiwidude,
As a developer I'm a total beginner, but for my one plugin there is already a ChangeLog and I'm quite happy to keep it up-to-date or reformat it as required should there ever be a new version.
jackie_w is online now   Reply With Quote
Old 03-28-2011, 11:47 PM   #32
kpw
Connoisseur
kpw can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterkpw can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterkpw can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterkpw can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterkpw can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterkpw can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterkpw can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterkpw can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterkpw can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterkpw can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterkpw can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 80
Karma: 12933
Join Date: Feb 2011
Device: Galaxy Note 8, Sony PRS-650, Sony PRS-600
Quote:
Originally Posted by kiwidude View Post
Whether this feature could happen is down to whether the other plugin developers are willing/interested in maintaining a change history file for their plugins. Unless someone has a different suggestion, it would perhaps involve adding an attachment of a particular name to their first post (e.g. changelog.txt).

So in particular... meme, user_none, kpw, jackie_w & javanmaar - as current plugin developers what are your thoughts if any?
I maintain a spoiler in the first post for my plugin with the change history at the moment. I can easily update it with a new format, whether that be a separate attachment or inline in the post. If the separate attachment is the approach of choice, I would probably continue to keep the inline spoiler section as well for folks who are browsing the forum.
kpw is offline   Reply With Quote
 
Enthusiast
Old 03-29-2011, 12:04 AM   #33
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,154
Karma: 5381911
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Something like that. Or a section in code tags with the first line being Changelog, or whatever you find easy to parse.
kovidgoyal is online now   Reply With Quote
Old 03-29-2011, 05:02 AM   #34
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,228
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
Thks all for the responses. My only reluctance in using SPOILER tags was the difficulty in parsing that out, particularly if your post uses them for other reasons like meme does extensively. It will require some specific text to be present which means a little more care for the developer to get that right.

However I 100% agree with you kpw that it is more convenient for a user browsing the forums, and it would be annoying to have to maintain your history in multiple places. I will experiment and see what I can come up with.
kiwidude is offline   Reply With Quote
Old 03-29-2011, 07:18 AM   #35
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
I maintain my version history in 2 places. One is a history.txt file in the plugin zip. The other is as a spoiler in the text for easy viewing.

If you want to use text in the posting to display to the user, then I have no issue formatting it in a way that you can use (although I like the spoiler to hide things people might not want to see. But then my plugin has a lot of information to present and spoilers were the only way to avoid overwhelming people).

If you want to display the contents of a file, then I can rename the file from history.txt to something else if you prefer (keeping .txt so it displays properly when opened). You could then download and extract the zip to get the file and display it in a window for the plugin or just provide a button/link to open/view it.

Or I could just attach the file to the plugin thread's first post - which might be easier because then I can just link to that file instead of an inline spoiler (I'll give that a test) and you could link/access it easier.

Would you want to display just the recent changes or the whole change history? If you just want to display recent changes I'd think you would be restricted to showing just the update for the newest version and not the updates since the last version a user has installed. But showing just the recent stuff might take more parsing and restrict the format a lot more.
meme is offline   Reply With Quote
Old 03-29-2011, 10:41 AM   #36
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,907
Karma: 5880479
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Minor bug

After installing plugin updates, the Install button is left 'enabled'

If I start the updater with no updates available, the 'Install' button is (IMHO properly) disabled.
theducks is offline   Reply With Quote
Old 03-29-2011, 10:46 AM   #37
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,228
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
Thx for that, I will make sure it is fixed in this weekend's release.
kiwidude is offline   Reply With Quote
Old 03-29-2011, 10:51 AM   #38
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,907
Karma: 5880479
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by kiwidude View Post
Thx for that, I will make sure it is fixed in this weekend's release.
Thank YOU for the plug-in
theducks is offline   Reply With Quote
Old 03-31-2011, 11:13 AM   #39
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,228
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
Experimenting with version history

I've just done a quick experiment with using an inline spoiler text for version history in the first post of the Book Sync plugin. It also coincides that kpw's plugin post already "conforms" to the requirements. Quite simply they are that you have a line containing "Version History" (case insensitive) on the line preceding the Spoiler with your text. Inside the spoiler put whatever text you like.

See the attached screenshots for the changes I made to the GUI - the contents of your spoiler tag are rendered in the same html in the popup window. The Version History button is enabled based on the presence of a value of "History: Yes" (case-insensitive) in the plugins sticky index.

Any thoughts? This may all be an interim solution until we move the plugins to a repository but it is simple enough for the meantime. I think the spoiler is more convenient for forum users than additional popup windows from attachments and it will be faster to display from the plugin as one less retrieval.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_1_Updater.png
Views:	82
Size:	67.8 KB
ID:	69293   Click image for larger version

Name:	Screenshot_2_VersionHistory.png
Views:	77
Size:	21.3 KB
ID:	69294  
kiwidude is offline   Reply With Quote
Old 03-31-2011, 11:16 AM   #40
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,154
Karma: 5381911
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Looks fine to me.
kovidgoyal is online now   Reply With Quote
Old 03-31-2011, 11:58 AM   #41
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
Looks good - basically the same format I was using. Trying it out with the attached .txt was annoying waiting for it to appear - glad you can parse the inline text.

Any issue with using an indent around the spoiler - just to make it look nicer/consistent with the rest of my text? (I've update my plugin's first post to this format)
meme is offline   Reply With Quote
Old 03-31-2011, 01:05 PM   #42
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,228
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
Thx Kovid/meme.

@meme - there "was" an issue but not any more. So you can use the INDENT tag, or not.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_3_VersionHistory2.png
Views:	70
Size:	31.7 KB
ID:	69298  
kiwidude is offline   Reply With Quote
Old 04-03-2011, 10:20 AM   #43
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,228
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
v1.1 Released

Changes as follows:
  • Rewrite for new plugin infrastructure in Calibre 0.7.53
  • Add a Version History button for reading from SPOILER tags
  • Fix install button not disabled after last available update installed
  • Rename Uninstall to Remove plugin for consistency with Calibre dialog
  • Add buttons to toggle enabled status and show configuration dialog
  • If plugin launched with ctrl or shift key pressed, show all plugins
kiwidude is offline   Reply With Quote
Old 04-03-2011, 06:15 PM   #44
Loeffel
Connoisseur
Loeffel began at the beginning.
 
Loeffel's Avatar
 
Posts: 58
Karma: 10
Join Date: Mar 2011
Device: Kindle 3 3G
That looks really good, even the feature that the window size of the history is saved. Really good work.
Loeffel is offline   Reply With Quote
Old 04-03-2011, 06:23 PM   #45
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,228
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
Thanks Loeffel, much appreciated.
kiwidude is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Open With kiwidude Plugins 245 10-29-2014 09:06 PM
[GUI Plugin] Generate Cover kiwidude Plugins 502 10-10-2014 06:47 AM
[GUI Plugin] Goodreads Sync kiwidude Plugins 673 09-16-2014 06:38 PM
[GUI Plugin] Clipboard Search kiwidude Plugins 9 08-12-2014 03:36 AM
[GUI Plugin] Book Sync **Deprecated** kiwidude Plugins 111 06-07-2011 07:47 PM


All times are GMT -4. The time now is 11:56 AM.


MobileRead.com is a privately owned, operated and funded community.