Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Link Address Visibility

Reply
Thread Tools

Link Address Visibility

 
 
Roy Schestowitz
Guest
Posts: n/a
 
      07-31-2005
Robert Frost-Bridges wrote:

> Roy Schestowitz wrote:
>
>> If you use Firefox (in which case the "after" gets picked up) or another
>> proper browser, go to Print Preview and see why I'm worried and having
>> second thoughts. I don't expect people to print pages though; it is a
>> "proof of concept" rather, which I hope the WordPress community will pick
>> up on.

>
> Surely Els suggestion fits best for a proof of concept then. I think you
> did acknowledge that as an excellent idea but the fact that 400+ pages
> would need updating, but if it's the right way then that's what you need
> to do, even if it is time consuming.


There are pitfalls to both approaches, I guess. With Els' solution, you
unnecessarily inflate the amount of code (no complaints, Els) and duplicate
elements. Changing one URL may then involve changing another.

Roy

--
Roy S. Schestowitz
http://Schestowitz.com
 
Reply With Quote
 
 
 
 
Toby Inkster
Guest
Posts: n/a
 
      07-31-2005
Spartanicus wrote:

> @media print{
> a[href]:after{content: " <"attr(href)">"}
> }


This is place where you get an interesting difference between Presto
(Opera) and Gecko (Netscape, Firefox, Camino, etc); when the link is a
relative URL, Gecko will only print out the relative URL, but Opera will
print out the absolute URL.

In my opinion, Gecko's behaviour is more "correct", but Opera's is
certainly more useful.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

 
Reply With Quote
 
 
 
 
Toby Inkster
Guest
Posts: n/a
 
      07-31-2005
Roy Schestowitz wrote:

> I once wrote a global/recursive search-and-replace tool for Linux, but
> it operates on files, not on a database, which is where all the data is
> located.


So what? -- I can't imagine it would take more than a few lines of code to
get it to operate of a database instead!

As an aside, why did you write that tool? Hadn't you read "man sed"?

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

 
Reply With Quote
 
Roy Schestowitz
Guest
Posts: n/a
 
      08-01-2005
Toby Inkster wrote:

> Roy Schestowitz wrote:
>
>> I once wrote a global/recursive search-and-replace tool for Linux, but
>> it operates on files, not on a database, which is where all the data is
>> located.



I re-thought that. Over the long run, it is better the re-write Texturize (
http://photomatt.net/tools/texturize ) of WordPress to generate these span
elements on-the-fly, somewhat like a filter. This way the user does not
need to do so time and time again.


> So what? -- I can't imagine it would take more than a few lines of code to
> get it to operate of a database instead!
>
> As an aside, why did you write that tool? Hadn't you read "man sed"?



It uses sed. You had very much to do with the composition of this little
tool: http://www.schestowitz.com/Software/Search_and_Replace/

I even acknowledge you at the bottom. I have extended these 'scripts' to
change pages quite radically, en masse. The longest such script is around
30 lines long.

Roy

--
Roy S. Schestowitz
http://Schestowitz.com
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Visibility of link button =?Utf-8?B?Ym9iYnk=?= ASP .Net 3 09-17-2007 09:20 PM
RE: Link Link Link =?Utf-8?B?REw=?= Windows 64bit 0 05-17-2005 12:15 PM
Re: Link Link Link DANGER WILL ROBINSON!!! Kevin Spencer ASP .Net 0 05-17-2005 10:41 AM
Netwok Visibility Dennis Jelavic Wireless Networking 8 02-15-2005 04:34 AM
Visibility of enumeration literals under use clauses biau@altavista.com VHDL 15 02-01-2005 04:19 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57