Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.
-
Suman Dahal #1
Help, need to make a extension that uses search and replace
Hello,
I am trying to make an extension that searches for certain tags in the
source code. Something similar to "Remove Frontpage tags" extension.
I have had a look at some really simple extensions that talk about using
javascript. How do i use javascript to look for certain tags and strip them?
I am a newbie so please take it easy on the jargon :)
cheers
Suman
Suman Dahal Guest
-
Search and replace
I'm certain this has been asked 1000 times.. however ... I recently imported some data - all INTs ... from an excel sheet, but the damn thing... -
Search and replace (super global replace)
I am using the 30 day trail of acrobate professional....before I buy it I have a few questions.... 1) is there a "search and replace" function... -
search an replace
Hi This scripts sucks in a 109mb file and i'm trying to do a search and replace on unxtime to the format from strftime. Which is working... ... -
Search & Replace Function?
I have some textfield that users will enter data into on my web site and then I'll use php and write it to mysql - for security purposes, is there... -
search replace
Hi , How do I search replace text in a file from a perl script. i.e. by opening the file in write mode and then do a search replace. I don't... -
danilocelic *TMM* #2
Re: Help, need to make a extension that uses search and replace
Suman Dahal wrote:
There are a variety of ways to accomplish this task depending on the> I have had a look at some really simple extensions that talk about using
> javascript. How do i use javascript to look for certain tags and strip them?
specifics of the case. One way would be to use regular expressions to
remove the starting and ending tags. Or you could "walk the DOM" to
strip out tags.
Both fashions require a good bit of general JavaScript knowledge.
First thing I'd suggest you do (after reading the resources and links
below) would be to take a look at the files that comprise the Clean up
HTML command, which can be found at on a PC, as it allows you to be able
to remove specified tags:
C:/Program Files/Macromedia/Dreamweaver MX
2004/Configuration/Commands/Clean Up HTML.htm
C:/Program Files/Macromedia/Dreamweaver MX
2004/Configuration/Commands/Clean Up HTML.js
Actually, unless you really really want to get into extension
development, this command could more than likely cover your needs.
You should read up on building extensions, theres a lot of ground to> I am a newbie so please take it easy on the jargon :)
cover. Here's my generic getting started post:
MX04:
Help > Extensions > Extending Dreamweaver
and
Help > Extensions > API Reference
and
Help > Extensions > Creating and Submitting
livedocs as well:
[url]http://livedocs.macromedia.com/dreamweaver/mx2004/index.html[/url]
Configuration folder locations:
[url]http://www.communitymx.com/blog/index.cfm?newsid=27&blogger=12[/url]
Dreamweaver MX 2004 SDK (includes MXI format for DWMX 2004):
[url]http://www.macromedia.com/cfusion/exchange/index.cfm?view=sn121&extid=1009962[/url]
MXI File Format for DWMX 2004:
[url]http://download.macromedia.com/pub/dw_exchange/mxi_file_format.pdf[/url]
MXI File format for DWMX and earlier:
[url]http://download.macromedia.com/pub/dw_exchange/mxi_file_format.pdf[/url]
Books (dedicated):
Building Dreamweaver 4 and Dreamweaver UltraDev 4 Extension
Tom Muck and Ray West
[url]http://basic-ultradev.com/building_extensions/index.asp[/url]
Dreamweaver MX Extensions
Laura Gutman
[url]http://www.amazon.com/exec/obidos/tg/detail/-/0735711828/qid=10686781[/url]...
Covers extending:
Dreamweaver MX The Complete Reference
Ray West and Tom Muck
[url]http://www.amazon.com/exec/obidos/ASIN/0072195142/basicultradev-20[/url]
Dreamweaver MX 2004 The Complete Reference
Ray West and Tom Muck
[url]http://dwteam.com/tcr/[/url]
Beyond Dreamweaver
Joseph Lowrey
[url]http://www.amazon.com/exec/obidos/tg/detail/-/0789727404/qid=10686785[/url]...
Plus, always good to see what others have done. Visit the Exchange and
look at as many as you can:
[url]http://www.macromedia.com/exchange/[/url]
Lists of DW extension developer sites:
[url]http://www.dwfaq.com/Resources/Extensions/default.asp[/url]
[url]http://www.felixone.it/extensions/mext.asp[/url]
And also the site I write for: [url]http://www.communitymx.com/[/url] I have a few
extension related articles there (commercial site).
--
Danilo Celic
| Extending Knowledge Daily : [url]http://CommunityMX.com/[/url]
| Team Macromedia for Dreamweaver : [url]http://macromedia.com/go/team/[/url]
danilocelic *TMM* Guest



Reply With Quote

