Offline Editor

All about the past, current and future webteases and the art of webteasing in general.
---
cumping
Explorer
Explorer
Posts: 70
Joined: Sat Nov 03, 2012 2:05 pm
Contact:

Re: Offline Editor

Post by cumping »

Me 2.

:mbounce:
:thankyou:
:mbounce:
dbt
Explorer At Heart
Explorer At Heart
Posts: 183
Joined: Sun Jun 27, 2010 3:09 am

Re: Offline Editor

Post by dbt »

I took a look at the editor today, it's pretty nice. It seems MUCH faster to me though to edit in a text editor (I'm using notepad++) & then use the Offline Editor to verify that the pages work properly. Just thought I'd toss that out there for anyone just starting off.
philo
Explorer At Heart
Explorer At Heart
Posts: 831
Joined: Sun Jan 08, 2012 3:10 pm
Gender: Male
Sexual Orientation: Straight
Location: UK

Re: Offline Editor

Post by philo »

dbt wrote:I took a look at the editor today, it's pretty nice. It seems MUCH faster to me though to edit in a text editor (I'm using notepad++) & then use the Offline Editor to verify that the pages work properly. Just thought I'd toss that out there for anyone just starting off.
Even I use Notepad++ for some things rather than the editor.
Although I am finding I am using the editor more and more as I do changes to it.
It will depend how comfortable people are with xml, the editor will create the xml correctly.

I personally find the editor faster now, but then it is set up to do exactly what I want it to do :-D

It would be interesting to know why you find Notepad++ faster.
dbt
Explorer At Heart
Explorer At Heart
Posts: 183
Joined: Sun Jun 27, 2010 3:09 am

Re: Offline Editor

Post by dbt »

I wonder if the reason I find it faster to use a text editor is that what I've been doing is pretty simple. Essentially the pages have an id, text, an image, maybe a metronome, plus a button and or a timer linking to the next page(s). If I want to make a bunch of similar pages it's really easy to just paste in an example, modify the text & links and be done. I guess the other thing is I've been making it so that almost all of the images are random, the idea being if there's a different image set I want to use I can rename about 5 pics and leave the rest alone.

BTW, this wasn't meant as a criticism of the text editor at all.
User avatar
pc91
Explorer
Explorer
Posts: 92
Joined: Sat Nov 26, 2011 10:06 pm

Re: Offline Editor

Post by pc91 »

Would anyone mind providing a brief explanation of how the editor works.

I created a test directory called c"\test and a subfolder for pictures called c:\test\photos. I put a couple of photos in it.

When I launch the program (I have v. 1.1), under Tools, I select my default directory (c:\test).

I then select New, and call the new tease Test1. If I hit save, it seems to correctly save the xml file in c:\test.

However, when I add new pages, and try to edit them, nothing gets saved. I get errors telling me that the media is missing, etc. When I click the Images tab, no photos show in the right hand pane.

I can type text, but it never gets saved. If I then add a page 2, and attach a different image, that image appears on the start page and page 2. It is difficult to describe everything, but none of the functions seem to function for me.

I feel like I am missing something obvious.
Thanks.
philo
Explorer At Heart
Explorer At Heart
Posts: 831
Joined: Sun Jan 08, 2012 3:10 pm
Gender: Male
Sexual Orientation: Straight
Location: UK

Re: Offline Editor

Post by philo »

To save changes to pages you need to use Page/Save from the menu.
When you move off a page it should ask you to save if you have made changes.


It updates the PageView tab when you save the page, so changes to other tabs only get updated if you save the page.

I wrote the editor for my own use and understand how the code works, so sometimes what seems logical to me may not if you don't understand what the code is doing. I am more than happy to change it to something more logical if people want.
User avatar
pc91
Explorer
Explorer
Posts: 92
Joined: Sat Nov 26, 2011 10:06 pm

Re: Offline Editor

Post by pc91 »

I may have figured out the problem. Question:

Does the Media Directory (General Tab) have to be the same as the default folder under Tools | Options? The only way I can get any photos to display in the Images tab is if I leave the Media Directory option blank and put the photos in the default directory that I specify under Tools | Options.

When I leave the Media Directory blank, and just set default directory to be the same folder where the photos are, it seems to work properly.

One other question:

Is there an way to take a tease that I started creating in Nyx and move it to the editor to finish it?

Thanks. Very handy program.
philo
Explorer At Heart
Explorer At Heart
Posts: 831
Joined: Sun Jan 08, 2012 3:10 pm
Gender: Male
Sexual Orientation: Straight
Location: UK

Re: Offline Editor

Post by philo »

The default directory should be where the tease xml file is stored.
The media directory should be a subdirectory of the default directory.
(this is how the main Teaseme program works)

So default directory would be c:\test
Media directory photos
Pictures (and audio) would then go in c:\test\photos

Normally the media directory reflects the name of the xml file (but doesn't have to)

If you want to edit a nyx script you could try publishing the tease, down load it using teaseme and then unpublishing it. (It would appear briefly on Milovana so adding some text to the first page to ignore the tease may be a good idea).
You would then have the xml file with what you had done so far.
tommarr
Explorer At Heart
Explorer At Heart
Posts: 148
Joined: Mon Oct 17, 2011 9:43 am
Gender: Male
Sexual Orientation: Straight

Re: Offline Editor

Post by tommarr »

Hey philo it seems like "edit text" is not working properly atleast I can't use colors even tho they can be selected. In fact font window will popup on first time but after I close it I'm unable to open it again untill I restart whole editor

Also what textovisual and visualtotext are supposed to do?

And I guess text editor is not supposed to make <p> tags to code and those need to be done by hand?

Just messing up with it and these came to my mind :-D
philo
Explorer At Heart
Explorer At Heart
Posts: 831
Joined: Sun Jan 08, 2012 3:10 pm
Gender: Male
Sexual Orientation: Straight
Location: UK

Re: Offline Editor

Post by philo »

I did get issues at one point, but it seems to be working in the version I am currently working on. I may do some changes to the text editor for the next release. The visual edits only work in the bottom window the top one shows the html generated. Visual to text populates the top window using what is in the bottom window, text to visual does the reverse. Teaseme uses xml to store the tease so for formated text it needs to be xhtml not html. Xhtml has to have end tags so <p> is not allowed <p/> probably would work. Can't remember what I did to get around it, it may just be stripping them at the moment.
tommarr
Explorer At Heart
Explorer At Heart
Posts: 148
Joined: Mon Oct 17, 2011 9:43 am
Gender: Male
Sexual Orientation: Straight

Re: Offline Editor

Post by tommarr »

Ahh... Don't worry it's actually working like it should. For some reason my eyes didn't even spot that black box below normal textbox before you said that thus I was only trying to write at the top one and obiviously it didn't work (as it meant to be xhtml)

colors and change line tags are working with the version currently on code.google

My bad :blush:
philo
Explorer At Heart
Explorer At Heart
Posts: 831
Joined: Sun Jan 08, 2012 3:10 pm
Gender: Male
Sexual Orientation: Straight
Location: UK

Re: Offline Editor

Post by philo »

V1.3 is now released
Have been doing various changes as I go along so this may not be a complete list.

Some additional checks to the page check function (you can set a maximum delay length in options, it will warn if any pages are longer)

New option under tools "add nyx text formatting". When tease me downloads a tease it does not pick up the HTML formatting for colours etc. but it does store the html as a comment in the xml file. This option will over write the current text nodes with the html so you will get coloured text etc. (you will need to do file save after to save it to the xml) this will over write any changes you have made to the text since the download.

Nyx script generation should now convert random pages that use text to numbers automatically.

Have done some minor tweaks to the visual editor. doing changes in either the visual window (bottom pane) or the html window (top pane) should automatically update the other one.
(the visual pane actually updates the top pane when the mouse is moved over it as I have not found a way to do it when the actual contents change)

Have uploaded both ways of installing the editor so depending on how you installed it originally you can
1) download the smaller file and over write the files if you installed it the original way
2) download the packaged version if you used that for V1.1 (it should just upgrade to 1.3 you don't need to unistall 1.1)
k-0s
Explorer
Explorer
Posts: 17
Joined: Mon Dec 14, 2009 4:58 am

Re: Offline Editor

Post by k-0s »

I have a question on using the editor. I downloaded my tease and loaded it into the editor, made some changes and now I want to add it back into nyx to fix it. I copied the whole script and pasted it to replace my old script. Worked ok, except that the editor changed the text size to 4 so its extremely small and it won't let me edit my tease in nyx anymore.

Any ideas?

Edit

Ok I think I figured it out. Everytime I hit Add nyx text formatting it changes all the text size to 4 which is really small for nyx. Should be like 18
philo
Explorer At Heart
Explorer At Heart
Posts: 831
Joined: Sun Jan 08, 2012 3:10 pm
Gender: Male
Sexual Orientation: Straight
Location: UK

Re: Offline Editor

Post by philo »

k-0s wrote:Ok I think I figured it out. Everytime I hit Add nyx text formatting it changes all the text size to 4 which is really small for nyx. Should be like 18
Ah I had not thought of that, The HTML in teaseme uses font size from 1 to 7 rather than normal font size.
I convert the size to what teaseme uses but hadn't considered what that would do with the Nyx generation.
I will get a fix done and upload it when I can.
k-0s
Explorer
Explorer
Posts: 17
Joined: Mon Dec 14, 2009 4:58 am

Re: Offline Editor

Post by k-0s »

philo wrote:
k-0s wrote:Ok I think I figured it out. Everytime I hit Add nyx text formatting it changes all the text size to 4 which is really small for nyx. Should be like 18
Ah I had not thought of that, The HTML in teaseme uses font size from 1 to 7 rather than normal font size.
I convert the size to what teaseme uses but hadn't considered what that would do with the Nyx generation.
I will get a fix done and upload it when I can.

Thanks! Other than that that editor is awesome! Found a bunch of mistakes in my tease and got them all fixed
Post Reply