PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > php.general > Web page excerpt editor
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Web page excerpt editor

Réponse
 
LinkBack Outils de la discussion
Vieux 04/05/2008, 17h12   #1
Mike Potter
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Web page excerpt editor

We are looking for a script similar to SnippetMaster
(http://www.snippetmaster.com/). We want to give the non-html-coding
client the ability to make edits to one part of one page on their Web
site on a weekly or near-daily basis. We are looking for something
free and turnkey, so we can move on to the next paying client. As
stated, the client is not html-aware so SnippetMaster itself fails our
criteria, the free version does not offer WYSIWYG previews of changes
while editing (http://www.snippetmaster.com/compare.html).

Does anyone have any experience with something else? Alternately, has
anyone written something they'd be willing to share under GPL?

Ski
  Réponse avec citation
Vieux 04/05/2008, 18h46   #2
Paul Scott
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] Web page excerpt editor


On Sun, 2008-05-04 at 10:12 -0500, Mike Potter wrote:

> Does anyone have any experience with something else? Alternately, has
> anyone written something they'd be willing to share under GPL?


FCKEditor, TinyMCE and a host of others. All JS based, so not really
relevant on a PHP list though

--Paul


All Email originating from UWC is covered by disclaimer
http://www.uwc.ac.za/portal/public/p...disclaimer.htm

  Réponse avec citation
Vieux 05/05/2008, 00h27   #3
Mike Potter
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] Web page excerpt editor

Oops, I replied to Paul only.

On Sun, May 4, 2008 at 11:46 AM, Paul Scott wrote:

> FCKEditor, TinyMCE and a host of others. All JS based, so not really
> relevant on a PHP list though


Whereas, SnippetMaster *is* PHP-based. Sad if it's the only one, I
thought (hoped) there would be more.

Ski
  Réponse avec citation
Vieux 05/05/2008, 00h49   #4
Robert Cummings
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] Web page excerpt editor


On Sun, 2008-05-04 at 17:27 -0500, Mike Potter wrote:
> Oops, I replied to Paul only.
>
> On Sun, May 4, 2008 at 11:46 AM, Paul Scott wrote:
>
> > FCKEditor, TinyMCE and a host of others. All JS based, so not really
> > relevant on a PHP list though

>
> Whereas, SnippetMaster *is* PHP-based. Sad if it's the only one, I
> thought (hoped) there would be more.


When you can't find what you want, feel free to pick up you keyboard and
create the solution. Then be sure to share it with everyone else.

Cheers,
Rob.
--
http://www.interjinn.com
Application and Templating Framework for PHP

  Réponse avec citation
Vieux 05/05/2008, 03h22   #5
Mike Potter
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] Web page excerpt editor

On Sun, May 4, 2008 at 5:49 PM, Robert Cummings wrote:

> > Whereas, SnippetMaster *is* PHP-based. Sad if it's the only one, I
> > thought (hoped) there would be more.

>
> When you can't find what you want, feel free to pick up you keyboard and
> create the solution. Then be sure to share it with everyone else.


Perhaps I shall, in due time. As indicated earlier however, one of the
goals is something free and turnkey, so we can move on to the next
paying client. If time and money were no issue, I wouldn't have
bothered Googling up SnippetMaster in the first place. I'd have
started writing something from scratch as a first step. Alas...

Ski
  Réponse avec citation
Vieux 05/05/2008, 15h43   #6
tedd
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] Web page excerpt editor

At 6:49 PM -0400 5/4/08, Robert Cummings wrote:
>On Sun, 2008-05-04 at 17:27 -0500, Mike Potter wrote:
> > On Sun, May 4, 2008 at 11:46 AM, Paul Scott wrote:
>>
> > > FCKEditor, TinyMCE and a host of others. All JS based, so not really
>> > relevant on a PHP list though

>>
> > Whereas, SnippetMaster *is* PHP-based. Sad if it's the only one, I
>> thought (hoped) there would be more.

>
>When you can't find what you want, feel free to pick up you keyboard and
>create the solution. Then be sure to share it with everyone else.
>
>Cheers,
>Rob.


To all:

FCKEditor and TinyMCE are impressive in what they do, but they
produce a mix of css and html -- that's not good in my book.

SnippetMaster is kind of neat in that it is PHP and uses editable regions.

I've been trying to come up with an alternative -- here's my twist:

http://www.webbytedd.com/a/easy-page-db

Please note the [Edit Mode] link on the top right of the page.

I'm not willing to share the code at this point because I haven't
worked out all the bugs, but I'm sure the demo expresses my idea.

My quandary is how much freedom do I give the client in allowing them
to use html tags? The client is not going to deliberately try to mess
up their own site, but not having well formed html can create
problems.

I am open to comments and suggestions.

Cheers,

tedd

--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
  Réponse avec citation
Vieux 05/05/2008, 15h52   #7
Jason Pruim
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] Web page excerpt editor


On May 5, 2008, at 9:43 AM, tedd wrote:

> At 6:49 PM -0400 5/4/08, Robert Cummings wrote:
>> On Sun, 2008-05-04 at 17:27 -0500, Mike Potter wrote:
>> > On Sun, May 4, 2008 at 11:46 AM, Paul Scott wrote:
>>>
>> > > FCKEditor, TinyMCE and a host of others. All JS based, so not

>> really
>>> > relevant on a PHP list though
>>>
>> > Whereas, SnippetMaster *is* PHP-based. Sad if it's the only one, I
>>> thought (hoped) there would be more.

>>
>> When you can't find what you want, feel free to pick up you
>> keyboard and
>> create the solution. Then be sure to share it with everyone else.
>>
>> Cheers,
>> Rob.

>
> To all:
>
> FCKEditor and TinyMCE are impressive in what they do, but they
> produce a mix of css and html -- that's not good in my book.
>
> SnippetMaster is kind of neat in that it is PHP and uses editable
> regions.
>
> I've been trying to come up with an alternative -- here's my twist:
>
> http://www.webbytedd.com/a/easy-page-db
>
> Please note the [Edit Mode] link on the top right of the page.
>
> I'm not willing to share the code at this point because I haven't
> worked out all the bugs, but I'm sure the demo expresses my idea.
>
> My quandary is how much freedom do I give the client in allowing
> them to use html tags? The client is not going to deliberately try
> to mess up their own site, but not having well formed html can
> create problems.
>
> I am open to comments and suggestions.


Hey tedd,

Just as an idea, would it be alot of work to do a "basic" editor, and
then have an "advanced" button? That way, for the people who don't
know as much they can just stay in the basic part that lets them
pretty much type in the info and the editor changes it into HTML and
advanced basically gives them a blank slate to work with? Just a
thought..


--

Jason Pruim
Raoset Inc.
Technology Manager
MQC Specialist
3251 132nd ave
Holland, MI, 49424-9337
www.raoset.com
japruim@raoset.com



  Réponse avec citation
Vieux 05/05/2008, 17h19   #8
Eric Butera
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] Web page excerpt editor

On Mon, May 5, 2008 at 9:43 AM, tedd <tedd.sperling@gmail.com> wrote:
> FCKEditor and TinyMCE are impressive in what they do, but they produce a
> mix of css and html -- that's not good in my book.


This is an interesting idea. Most clients don't want to see a text
area to input raw html though. In the many years I've done this only
3 people have ever requested it specifically out of hundreds. You
might want to look into shoving generated markup through ext/tidy. It
might have some options to clean up all that embedded css. Maybe I'll
have to look into it later when I have some free time. I'm tired of
seeing those mso styles from Word.
  Réponse avec citation
Vieux 06/05/2008, 14h41   #9
tedd
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] Web page excerpt editor

At 9:52 AM -0400 5/5/08, Jason Pruim wrote:
>On May 5, 2008, at 9:43 AM, tedd wrote:
>>I've been trying to come up with an alternative -- here's my twist:
>>
>>http://www.webbytedd.com/a/easy-page-db
>>
>>Please note the [Edit Mode] link on the top right of the page.
>>
>>I'm not willing to share the code at this point because I haven't
>>worked out all the bugs, but I'm sure the demo expresses my idea.
>>
>>My quandary is how much freedom do I give the client in allowing
>>them to use html tags? The client is not going to deliberately try
>>to mess up their own site, but not having well formed html can
>>create problems.
>>
>>I am open to comments and suggestions.

>
>Hey tedd,
>
>Just as an idea, would it be alot of work to do a "basic" editor,
>and then have an "advanced" button? That way, for the people who
>don't know as much they can just stay in the basic part that lets
>them pretty much type in the info and the editor changes it into
>HTML and advanced basically gives them a blank slate to work with?
>Just a thought..


My idea was to have various web templates set up for the clients to
chose from (my example was one) and then they could edit the text and
images as they wanted.

My only quandary was -- do I allow them to input html or not.

Cheers,

tedd


--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
  Réponse avec citation
Vieux 06/05/2008, 14h49   #10
Jason Pruim
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] Web page excerpt editor


On May 6, 2008, at 8:41 AM, tedd wrote:

> At 9:52 AM -0400 5/5/08, Jason Pruim wrote:
>> On May 5, 2008, at 9:43 AM, tedd wrote:
>>
>> Hey tedd,
>>
>> Just as an idea, would it be alot of work to do a "basic" editor,
>> and then have an "advanced" button? That way, for the people who
>> don't know as much they can just stay in the basic part that lets
>> them pretty much type in the info and the editor changes it into
>> HTML and advanced basically gives them a blank slate to work with?
>> Just a thought..

>
> My idea was to have various web templates set up for the clients to
> chose from (my example was one) and then they could edit the text
> and images as they wanted.
>
> My only quandary was -- do I allow them to input html or not.


I misunderstood what you were going for... But this does give me
another idea... Why not give them very simple things like [bold][/
bold] and then you can control it all from css and they don't need to
understand much about HTML?

In fact, if you are using variables in your css, you could set it so
that they could set what color they want [bold] to be.

IE: .bold {font-weight: bold; color: $boldColor;}

Or how ever you would have to define it so that it displayed
correctly.. Anyway, just the ideas of a dutch novice take them as
such


--

Jason Pruim
Raoset Inc.
Technology Manager
MQC Specialist
3251 132nd ave
Holland, MI, 49424-9337
www.raoset.com
japruim@raoset.com



  Réponse avec citation
Vieux 06/05/2008, 14h55   #11
tedd
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] Web page excerpt editor

At 11:19 AM -0400 5/5/08, Eric Butera wrote:
>On Mon, May 5, 2008 at 9:43 AM, tedd <tedd.sperling@gmail.com> wrote:
>> FCKEditor and TinyMCE are impressive in what they do, but they produce a
>> mix of css and html -- that's not good in my book.

>
>This is an interesting idea. Most clients don't want to see a text
>area to input raw html though. In the many years I've done this only
>3 people have ever requested it specifically out of hundreds. You
>might want to look into shoving generated markup through ext/tidy. It
>might have some options to clean up all that embedded css. Maybe I'll
>have to look into it later when I have some free time. I'm tired of
>seeing those mso styles from Word.


You make a good point -- and I agree with the Word problem. I have
clients who cut/paste from Word and then wonder why it don't look
right in their web site?

I have one client who likes using <h1><b><i><br /> tags but doesn't
know much about html -- plus, he's sloppy (lot's of errors). So, I'm
not sure how I am going to handle that.

Currently, my CMS for him is completely devoid of him entering any
html, but that also means I have to program in options for linefeeds,
bold/italic text, font size, and other such things. It's difficult to
pin down all the different combinations of those things.

Cheers,

tedd


--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
  Réponse avec citation
Vieux 06/05/2008, 15h02   #12
tedd
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] Web page excerpt editor

At 8:49 AM -0400 5/6/08, Jason Pruim wrote:
>On May 6, 2008, at 8:41 AM, tedd wrote:
>>My only quandary was -- do I allow them to input html or not.

>
>I misunderstood what you were going for... But this does give me
>another idea... Why not give them very simple things like
>[bold][/bold] and then you can control it all from css and they
>don't need to understand much about HTML?
>
>In fact, if you are using variables in your css, you could set it so
>that they could set what color they want [bold] to be.
>
>IE: .bold {font-weight: bold; color: $boldColor;}
>
>Or how ever you would have to define it so that it displayed
>correctly.. Anyway, just the ideas of a dutch novice take them as
>such


You're making an honest effort to answer the question I posed, so
it's not that novice.

I've been using variable in css for years, see here:

http://sperling.com/examples/pcss/

But it's a different problem when trying to guide a layman from what
he imagines in his head to what can be done on the web (hey, that
rhymes). :-)

Cheers,

tedd

--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
  Réponse avec citation
Vieux 06/05/2008, 15h21   #13
Chris Haensel
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut RE: [PHP] Web page excerpt editor

-----Original Message-----
From: tedd [mailto:tedd.sperling@gmail.com]
Sent: Tuesday, May 06, 2008 3:02 PM
To: php-general@lists.php.net
Subject: Re: [php] Web page excerpt editor

At 8:49 AM -0400 5/6/08, Jason Pruim wrote:
>On May 6, 2008, at 8:41 AM, tedd wrote:
>>My only quandary was -- do I allow them to input html or not.

>
>I misunderstood what you were going for... But this does give me
>another idea... Why not give them very simple things like
>[bold][/bold] and then you can control it all from css and they
>don't need to understand much about HTML?
>
>In fact, if you are using variables in your css, you could set it so
>that they could set what color they want [bold] to be.
>
>IE: .bold {font-weight: bold; color: $boldColor;}
>
>Or how ever you would have to define it so that it displayed
>correctly.. Anyway, just the ideas of a dutch novice take them as
>such


You're making an honest effort to answer the question I posed, so
it's not that novice.

I've been using variable in css for years, see here:

http://sperling.com/examples/pcss/

But it's a different problem when trying to guide a layman from what
he imagines in his head to what can be done on the web (hey, that
rhymes). :-)

Cheers,

tedd

--
-------
http://sperling.com http://ancientstones.com http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Tedd,

That is great information for a noob like me! Your page has just been
printed and bookmarked ) I have been thinking (not google-ing) about how
to do that (CSS with variables) for some time now, without ever trying.

Thanks mate !!

Chris

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 19h54.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,22299 seconds with 21 queries