Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

ntb-html · The NoteTab and HTML List

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 817
  • Category: General
  • Founded: Jun 17, 1999
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Messages

Advanced
Messages Help
Messages 7243 - 7272 of 7309   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#7243 From: Axel Berger <Axel-Berger@...>
Date: Wed Oct 31, 2012 7:48 pm
Subject: Re: [NH] Styling problem
absalom_nemini
Send Email Send Email
 
Mike Breiding - Morgantown WV wrote:
> I am not sure what you mean.

If you view that file in a browser, either locally or after uploading,
it will be unaffected by any CSS file you may have. Your symptoms sound
as if your test files weren't.

Axel

#7244 From: Mike Breiding - Morgantown WV <mike@...>
Date: Wed Oct 31, 2012 7:52 pm
Subject: Re: [NH] Styling problem
mikebreiding
Send Email Send Email
 
I went off half cocked here.
The <strong> is resolved, but the margin problem is not.
That is:
p.date
{margin-bottom:-10px; margin-top: 10px}
This will not change the margins.
-mb
========

On 10/31/2012 3:44 PM, Mike Breiding - Morgantown WV wrote:
> Solved:
> I changed this:
> <p class="date"><strong><a
> href='http://epicroadtrips.us/2010/mich-ont/d1/' target="_blank"
> title="Friday, June 11">Friday, June 11</strong></a></p>
>
> To this:
> <p class="date"><a href='http://epicroadtrips.us/2010/mich-ont/d1/'
> target="_blank" title="Friday, June 11"><strong>Friday, June
> 11</strong></a></p>
>
> I think I have been here before with Axel.
> But, previously the problem was IE not displaying the title for the link
> unless the URL and text were both wrapped with the formatting tag.
>
> It happens here also.
> FF displays the title, IE does not.
>
> My thanks to all!
> -Mike
> ----------------
>
> On 10/31/2012 12:10 PM, Mike Breiding - Morgantown WV wrote:
>>
>> Greetings!
>> I cannot get what I want from p.date.
>>
>> The margins will not apply and the font styling is lost when I add a
>> link to the date.
>>
>> <p class="date"><strong><a
>> href='http://epicroadtrips.us/2010/mich-ont/d1/' target="_blank"
>> title="Friday, June 11">Friday, June 11</a></strong></p>
>>
>> p.date
>> strong {font: 95% Georgia,'Times New Roman',Times,serif; color:#4F4A4A;
>> font-weight: bold;}
>> p.date em
>> {font:95% Georgia,'Times New Roman',Times,serif; color:grey;margin-left:
>> 10px}
>>
>> p.date
>> {margin-bottom:-10px; margin-top: 10px}
>>
>> http://epicroadtrips.us/2010/mich-ont/betsy_journal/
>> HTML validator - Validates
>>
>>
http://validator.w3.org/check?uri=http%3A%2F%2Fepicroadtrips.us%2F2010%2Fmich-on\
t%2Fbetsy_journal%2F&charset=%28detect+automatically%29&doctype=Inline&ss=1&grou\
p=0&user-agent=W3C_Validator%2F1.3
>> -------------------
>> http://epicroadtrips.us/2010/mich-ont/betsy_journal/php-nav-index_style.css
>> CSS validator Does not validate and I cannot see why
>>
>>
http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fepicroadtrips.us%2\
F2010%2Fmich-ont%2Fbetsy_journal%2Fphp-nav-index_style.css&profile=css3&usermedi\
um=all&warning=1&vextwarning=&lang=en#errors
>>
>> Any ideas?
>> -Mike
>> ========
>
>
> ------------------------------------
>
> Fookes Software: http://www.fookes.com/
> NoteTab website: http://www.notetab.com/
> NoteTab Discussion Lists: http://www.notetab.com/groups.php
>
> ***
> Yahoo! Groups Links
>
>
>
>
>

#7245 From: Axel Berger <Axel-Berger@...>
Date: Wed Oct 31, 2012 7:57 pm
Subject: Re: [NH] Styling problem
absalom_nemini
Send Email Send Email
 
Mike Breiding - Morgantown WV wrote:
> This will not change the margins.

It does in my example file. So there must be something specific else
wrong your side. Is it just one browser? Is it overridden by another CSS
directive?

#7246 From: Mike Breiding - Morgantown WV <mike@...>
Date: Wed Oct 31, 2012 8:29 pm
Subject: Re: [NH] Styling problem
mikebreiding
Send Email Send Email
 
On 10/31/2012 3:48 PM, Axel Berger wrote:
> Mike Breiding - Morgantown WV wrote:
>> I am not sure what you mean.
>
> If you view that file in a browser, either locally or after uploading,
> it will be unaffected by any CSS file you may have. Your symptoms sound
> as if your test files weren't.

Sorry, Axel. I hate to appear dense.
But I must be.
I don't get your meaning.

Thanks for your patience!
-Mike

>
> Axel
>
>
> ------------------------------------
>
> Fookes Software: http://www.fookes.com/
> NoteTab website: http://www.notetab.com/
> NoteTab Discussion Lists: http://www.notetab.com/groups.php
>
> ***
> Yahoo! Groups Links
>
>
>
>
>

#7247 From: Mike Breiding - Morgantown WV <mike@...>
Date: Wed Oct 31, 2012 8:32 pm
Subject: Re: [NH] Styling problem
mikebreiding
Send Email Send Email
 
On 10/31/2012 3:57 PM, Axel Berger wrote:
> Mike Breiding - Morgantown WV wrote:
>> This will not change the margins.
>
> It does in my example file.

What example file?

> So there must be something specific else
> wrong your side. Is it just one browser?

Both FF 16 and IE 8 display this behavior.

> Is it overridden by another CSS directive?

I do have this inline styling:
<p style="text-align: center; margin-bottom:
50px">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</p>

<!-- ******** PHOTO LINKS START ********* -->
<p style="text-align: center;"><strong>The Journal Of Elizabeth Beal
Breiding: 3 weeks in Michigan</strong></p>

But, that's is all.
-mb

#7248 From: Axel Berger <Axel-Berger@...>
Date: Wed Oct 31, 2012 8:50 pm
Subject: Re: [NH] Styling problem
absalom_nemini
Send Email Send Email
 
Mike Breiding - Morgantown WV wrote:
> I don't get your meaning.

Alright. You have a separate CSS-file on your site. That file has caused
issues, there were problems with comments, it didn't validate at first
and so on.

My sample file does not use any of that. The only CSS it sees is that
enclosed in

<STYLE TYPE="text/css"><!--
	 ...
--></STYLE>

So you can verify it works as intended in every browser you use. I say
it does. It seems the very same directives in your CSS-file do not work.
As they work of themselves (at least here), it must be that the browser
does not see or apply them for some reason. You must find out which
styling it sees in their place -- change something in those styles to
ridiculous values and watch where they turn up. If you found the culprit
you need to find out why it and not the intended one is applied. One
thing that often got me is the precedence of the more specific.

The main rule here is to isolate the problem from everything that's got
nothing to do with it.

Axel

#7249 From: Axel Berger <Axel-Berger@...>
Date: Wed Oct 31, 2012 8:53 pm
Subject: Re: [NH] Styling problem
absalom_nemini
Send Email Send Email
 
Mike Breiding - Morgantown WV wrote:
> What example file?

The one I sent at 18:25 h my time, seems to be 13:25 h yours.

#7250 From: Mike Breiding - Morgantown WV <mike@...>
Date: Thu Nov 1, 2012 11:10 am
Subject: Re: [NH] Styling problem
mikebreiding
Send Email Send Email
 
On 10/31/2012 4:50 PM, Axel Berger wrote:
> ...
> The main rule here is to isolate the problem from everything that's got
> nothing to do with it.

I will start the process of elimination and see where it goes.
Thanks,
-Mike

#7251 From: Mike Breiding - Morgantown WV <mike@...>
Date: Wed Nov 7, 2012 7:58 pm
Subject: How do I get HTML to show up as plain text in a web page
mikebreiding
Send Email Send Email
 
I want this HTML to show up as plain text, not a link, in a web page How
do I do that?

<p class="date"><strong><a
href='http://epicroadtrips.us/2010/mich-ont/d1/' target="_blank"
title="Friday, June 11">Friday, June 11</a></strong></p>

I tired <pre> and <code> but that did not work.


Thanks,
-Mike

#7252 From: Mike Breiding - Morgantown WV <mike@...>
Date: Wed Nov 7, 2012 7:56 pm
Subject: [NH] Styling problem
mikebreiding
Send Email Send Email
 
RE:
> I cannot get this declaration to work:
> p.date
> {margin-bottom:-10px; margin-top: 40px}

That style was being overridden by the more specific:

div#content p {
margin: 8px auto;
width: 65%;
}

Using:
   "div#content p.date{margin-bottom:-10px; margin-top: 40px}"
Solved the problems with the margins not applying.
-Mike

======
Greetings!
I cannot get what I want from p.date.

The margins will not apply and the font styling is lost when I add a
link to the date.

<p class="date"><strong><a
href='http://epicroadtrips.us/2010/mich-ont/d1/' target="_blank"
title="Friday, June 11">Friday, June 11</a></strong></p>

p.date
strong {font: 95% Georgia,'Times New Roman',Times,serif; color:#4F4A4A;
font-weight: bold;}
p.date em
{font:95% Georgia,'Times New Roman',Times,serif; color:grey;margin-left:
10px}

p.date
{margin-bottom:-10px; margin-top: 10px}

http://epicroadtrips.us/2010/mich-ont/betsy_journal/
HTML validator - Validates

http://validator.w3.org/check?uri=http%3A%2F%2Fepicroadtrips.us%2F2010%2Fmich-on\
t%2Fbetsy_journal%2F&charset=%28detect+automatically%29&doctype=Inline&ss=1&grou\
p=0&user-agent=W3C_Validator%2F1.3
-------------------
http://epicroadtrips.us/2010/mich-ont/betsy_journal/php-nav-index_style.css
CSS validator Does not validate and I cannot see why

http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fepicroadtrips.us%2\
F2010%2Fmich-ont%2Fbetsy_journal%2Fphp-nav-index_style.css&profile=css3&usermedi\
um=all&warning=1&vextwarning=&lang=en#errors

Any ideas?
-Mike
========


------------------------------------

Fookes Software: http://www.fookes.com/
NoteTab website: http://www.notetab.com/
NoteTab Discussion Lists: http://www.notetab.com/groups.php

***
Yahoo! Groups Links

#7253 From: Greg Chapman <gregchapmanuk@...>
Date: Wed Nov 7, 2012 8:14 pm
Subject: Re: [NH] How do I get HTML to show up as plain text in a web page
gregchapmanuk
Send Email Send Email
 
Hi Mike,

On 07 Nov 12 19:58 Mike Breiding - Morgantown WV
<mike@...> said:
> I want this HTML to show up as plain text, not a link, in a web page
> How
> do I do that?
>
> <p class="date"><strong><a
> href='http://epicroadtrips.us/2010/mich-ont/d1/' target="_blank"
> title="Friday, June 11">Friday, June 11</a></strong></p>

Remove the link! Or am I missunderstanding what you meant by "plain
text"?

Perhaps, what you seek is a "a.plain" rule that over-rides the colour
and underlining defaults for a link?

Incidentally, why doesn't your CSS for p.date include a rule to give
you the <strong> effect>. Then you can dispense with the code bloat in
the HTML.

Greg

#7254 From: Mike Breiding - Morgantown WV <mike@...>
Date: Wed Nov 7, 2012 8:25 pm
Subject: Re: [NH] How do I get HTML to show up as plain text in a web page
mikebreiding
Send Email Send Email
 
On 11/7/2012 3:14 PM, Greg Chapman wrote:
> Hi Mike,
>
> On 07 Nov 12 19:58 Mike Breiding - Morgantown WV
> <mike@...> said:
>> I want this HTML to show up as plain text, not a link, in a web page
>> How
>> do I do that?
>>
>> <p class="date"><strong><a
>> href='http://epicroadtrips.us/2010/mich-ont/d1/' target="_blank"
>> title="Friday, June 11">Friday, June 11</a></strong></p>
>
> Remove the link! Or am I missunderstanding what you meant by "plain
> text"?

I want the link to be shown so all of the HTML can be seen.

> Perhaps, what you seek is a "a.plain" rule that over-rides the colour
> and underlining defaults for a link?

Would this not still show only the linked text?
I need all of the HTML to be visible.

> Incidentally, why doesn't your CSS for p.date include a rule to give
> you the <strong> effect>. Then you can dispense with the code bloat in
> the HTML.

I it does:

div#content p.date
{margin-bottom:-10px; margin-top: 40px}
div#content p.date strong, p.date a  {font: 95% Georgia,'Times New
Roman',Times,serif; color:#4F4A4A; font-weight: bold;}
div#content p.date em
{font:95% Georgia,'Times New Roman',Times,serif;
color:#4F4A4A;margin-left: 10px}

But it will not apply.
Is there a problem with the CSS?
Thanks,
-Mike

>
> Greg
>
>
> ------------------------------------
>
> Fookes Software: http://www.fookes.com/
> NoteTab website: http://www.notetab.com/
> NoteTab Discussion Lists: http://www.notetab.com/groups.php
>
> ***
> Yahoo! Groups Links
>
>
>
>
>

#7255 From: "John Wallace" <johnta1@...>
Date: Wed Nov 7, 2012 8:29 pm
Subject: RE: [NH] How do I get HTML to show up as plain text in a web page
johnta1
Send Email Send Email
 
If you're just wanting that link blurb to look like html, change the < and > to
[ and ].
html will convert it otherwise.

Like this?:

[p class="date"][strong][a
href='http://epicroadtrips.us/2010/mich-ont/d1/' target="_blank"
title="Friday, June 11"]Friday, June 11[/a][/strong][/p]


John Wallace
Pontiac Power Rules !!!
www.wallaceracing.com <http://www.wallaceracing.com/>



   _____

From: ntb-html@yahoogroups.com [mailto:ntb-html@yahoogroups.com] On Behalf Of
Mike Breiding - Morgantown WV
Sent: Wednesday, November 07, 2012 2:59 PM
To: NTB HTML
Subject: [NH] How do I get HTML to show up as plain text in a web page





I want this HTML to show up as plain text, not a link, in a web page How
do I do that?

<p class="date"><strong><a
href='http://epicroadtrips.us/2010/mich-ont/d1/' target="_blank"
title="Friday, June 11">Friday, June 11</a></strong></p>

I tired <pre> and <code> but that did not work.

Thanks,
-Mike





[Non-text portions of this message have been removed]

#7256 From: Alec Burgess <buralex@...>
Date: Wed Nov 7, 2012 8:59 pm
Subject: Re: [NH] How do I get HTML to show up as plain text in a web page
alecb3ca
Send Email Send Email
 
From Google: [show html as plain text]
>
>
>       php - How to/display HTML/tags as/plain text/- Stack Overflow
>      
<http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CDIQFjAA&ur\
l=http%3A%2F%2Fstackoverflow.com%2Fquestions%2F6817262%2Fhow-to-display-html-tag\
s-as-plain-text&ei=5cqaUPmcAqrM2AWj9YCYAQ&usg=AFQjCNH3z5wmkI3-S0xM6F0mYEU787pp8A\
&sig2=woDbEzRTfadnBFRkqMo__w&cad=rja>
>
> stackoverflow.com/.../how-to-*display*-*html*-tags-as-*plain*-*text*Share
> 6 answers - 25 Jul 2011
> I'm have an input form on my website where/HTML/is allowed and
> I'm*...*replace < by < and > by >*...*In PHP use the function
> htmlspecialchars()*...*
This answer:
> replace|<|by|<|and|>|by|>|
Not tested but it looks correct :-)



On 2012-11-07 15:29, John Wallace wrote:
> If you're just wanting that link blurb to look like html, change the <
> and > to [ and ].
> html will convert it otherwise.
>
> Like this?:
>
> [p class="date"][strong][a
> href='http://epicroadtrips.us/2010/mich-ont/d1/' target="_blank"
> title="Friday, June 11"]Friday, June 11[/a][/strong][/p]


[Non-text portions of this message have been removed]

#7257 From: bruce.somers@...
Date: Wed Nov 7, 2012 9:15 pm
Subject: Aw: [NH] How do I get HTML to show up as plain text in a web page
bruce.somers
Send Email Send Email
 
To have the HTML show on your page as in your mail, replace all opening
less-than signs with  & lt; (with no space after the ampersand). That will
cause them to be displayed as less-than signs, but the HTML interpreter will not
find any tags.

I hope that this comment will be displayed correctly in this mail.

Bruce

& lt;p class="date"]& lt:strong]<a
href='http://epicroadtrips.us/2010/mich-ont/d1/' target="_blank" title="Friday,
June 11"]Friday, June 11& lt;/a]& lt;/strong]& lt;/p]

No spaces between the ampersands and the characters lt.




Von: "Mike Breiding - Morgantown WV" <mike@...>
An: "NTB HTML" <ntb-html@yahoogroups.com>
Betreff: [NH] How do I get HTML to show up as plain text in a web page

 
I want this HTML to show up as plain text, not a link, in a web page How
do I do that?

<p class="date"><strong><a
href='http://epicroadtrips.us/2010/mich-ont/d1/' target="_blank"
title="Friday, June 11">Friday, June 11</a></strong></p>

I tired <pre> and <code> but that did not work.

Thanks,
-Mike

#7258 From: Axel Berger <Axel-Berger@...>
Date: Wed Nov 7, 2012 9:31 pm
Subject: Re: [NH] How do I get HTML to show up as plain text in a web page
absalom_nemini
Send Email Send Email
 
Mike Breiding - Morgantown WV wrote:
> I need all of the HTML to be visible.

If you mean all the URL, i.e. http://.../d1/, then just write it down.
If you want "<a" to be seen and not interpreted, then make it "<a".

> But it will not apply.

Look like specificity again. Try the full "div#content p.date a" instead
of "p.date a".

Axel

#7259 From: Don <don@...>
Date: Wed Nov 7, 2012 9:37 pm
Subject: Re: [NH] How do I get HTML to show up as plain text in a web page
dpasseng
Send Email Send Email
 
Highlight the stuff you want and then click on modify > characters to
html > all special characters ...

it will become plain text that displays without being actual html ... to
preserve spacing if desired wrap in pre tags.

On 11/7/2012 4:31 PM, Axel Berger wrote:
> Mike Breiding - Morgantown WV wrote:
>> I need all of the HTML to be visible.

#7260 From: Bob McAllister <fortiter@...>
Date: Thu Nov 8, 2012 12:58 am
Subject: Re: [NH] How do I get HTML to show up as plain text in a web page
bob_mcallister
Send Email Send Email
 
Option 1

<xmp></xmp> was a tag for Examples of HTML. Now deprecated but still works
fine in Chrome. (Check other browsers).

Option 2

Use a textarea to pull your code out of the rendering.

<form>
<textarea rows="3" cols="80" wrap="off" readonly="readonly">
<p class="date"><strong><a
href='http://epicroadtrips.us/2010/mich-ont/d1/' target="_blank"
title="Friday, June 11">Friday, June 11</a></strong></p>
</textarea>
</form>

It seems to work without the <form></form> but the page would not validate
with a bare form element.

Bob

On 8 November 2012 05:58, Mike Breiding - Morgantown WV <
mike@...> wrote:

>
> I want this HTML to show up as plain text, not a link, in a web page How
> do I do that?
>
> <p class="date"><strong><a
> href='http://epicroadtrips.us/2010/mich-ont/d1/' target="_blank"
> title="Friday, June 11">Friday, June 11</a></strong></p>
>
> I tired <pre> and <code> but that did not work.
>
>
> Thanks,
> -Mike
>
>


[Non-text portions of this message have been removed]

#7261 From: Jeffery Scism <jeff@...>
Date: Thu Nov 8, 2012 1:16 am
Subject: Re: [NH] How do I get HTML to show up as plain text in a web page
scismgenie
Send Email Send Email
 
On 11/7/2012 11:58 AM, Mike Breiding - Morgantown WV wrote:
> <p class="date"><strong><a
> href='http://epicroadtrips.us/2010/mich-ont/d1/' target="_blank"
> title="Friday, June 11">Friday, June 11</a></strong></p>
http://epicroadtrips.us/2010/mich-ont/d1/

Just type the link without the A Href coding

#7262 From: Jeffery Scism <jeff@...>
Date: Thu Nov 8, 2012 1:19 am
Subject: Re: [NH] How do I get HTML to show up as plain text in a web page
scismgenie
Send Email Send Email
 
On 11/7/2012 1:31 PM, Axel Berger wrote:
>
> Mike Breiding - Morgantown WV wrote:
> > I need all of the HTML to be visible.
>
> If you mean all the URL, i.e. http://.../d1/, then just write it down.
> If you want "<a" to be seen and not interpreted, then make it "<a".
>
> > But it will not apply.
>
> Look like specificity again. Try the full "div#content p.date a" instead
> of "p.date a".
>
> Axel
>
OR  Highlight <p class="date"><strong><a
href='http://epicroadtrips.us/2010/mich-ont/d1/' target="_blank"
title="Friday, June 11">Friday, June 11</a></strong></p> and use
MODIFY>Document to HTML>with Paragraph tags


[Non-text portions of this message have been removed]

#7263 From: William Cole <williamacole@...>
Date: Thu Nov 8, 2012 5:35 am
Subject: Re: [NH] How do I get HTML to show up as plain text in a web page
whiggish
Send Email Send Email
 
Maybe something like:

<p class="date"><strong>
<br><a href="http://epicroadtrips.us/<wbr>2010/mich-ont/d1/"
target="_blank" <br>title="Friday, June 11">Friday, June
11</a></strong></p>



On Wed, Nov 7, 2012 at 11:58 AM, Mike Breiding - Morgantown WV <
mike@...> wrote:

> **
>
>
>
> I want this HTML to show up as plain text, not a link, in a web page How
> do I do that?
>
> <p class="date"><strong><a
> href='http://epicroadtrips.us/2010/mich-ont/d1/' target="_blank"
> title="Friday, June 11">Friday, June 11</a></strong></p>
>
> I tired <pre> and <code> but that did not work.
>
> Thanks,
> -Mike
>
>


[Non-text portions of this message have been removed]

#7264 From: Mike Breiding - Morgantown WV <mike@...>
Date: Thu Nov 8, 2012 10:50 am
Subject: [NH] How do I get HTML to show up as plain text in a web page
mikebreiding
Send Email Send Email
 
Wow! That was fun.
So many ways to skin a cat.
Here they are:
http://epicroadtrips.us/2010/mich-ont/betsy_journal/test.php

Thanks, everybody.
-Mike

===================
I want this HTML to show up as plain text, not a link, in a web page How
do I do that?

<p class="date"><strong><a
href='http://epicroadtrips.us/2010/mich-ont/d1/' target="_blank"
title="Friday, June 11">Friday, June 11</a></strong></p>

I tired <pre> and <code> but that did not work.


Thanks,
-Mike


------------------------------------

Fookes Software: http://www.fookes.com/
NoteTab website: http://www.notetab.com/
NoteTab Discussion Lists: http://www.notetab.com/groups.php

***
Yahoo! Groups Links

#7265 From: Mike Breiding - Morgantown WV <mike@...>
Date: Sun Nov 11, 2012 3:22 pm
Subject: How to convert internet links to local filesystem links?
mikebreiding
Send Email Send Email
 
Greetings,

I downloaded my entire web site via FTP.
I would now like to convert all the links to my local filesystem.

I cannot come up with any utility via a Google search.

Using a utility like WinHTTrack Website Copier will do this but I find
it difficult to control exactly how deep WinHTTrack will go when
downloading.

Thanks,
-Mike

#7266 From: Greg Chapman <gregchapmanuk@...>
Date: Sun Nov 11, 2012 4:00 pm
Subject: Re: [NH] How to convert internet links to local filesystem links?
gregchapmanuk
Send Email Send Email
 
Hi Mike,

On 11 Nov 12 15:22 Mike Breiding - Morgantown WV
<mike@...> said:
> I downloaded my entire web site via FTP.
> I would now like to convert all the links to my local filesystem.

You need to explain a little more about your site and its structure.

I would expect your site to have all your HTML files in the root
folder on your server. I would expect all images to be in a dedicated
sub-folder called "images". I would expect all links in the pages to
those images to take the form:

images/photo.jpg.

i.e. be relative links. If that was the case then whether the the site
was on your server or on your local disk, the links would work.

That assumes you have downloaded the HTML files to a dedicated folder
on your local disk and the images have gone to a sub-folder called
"images". In short, I expect you to "mirror" the two structures and
use relative links.

Even if relative addresses were not used, it should only be a matter
of using NoteTab to search for the "http://www.etc" part of an
absolute address and change it to a relative one, as indicated above.

Greg

#7267 From: Axel Berger <Axel-Berger@...>
Date: Sun Nov 11, 2012 4:07 pm
Subject: Re: [NH] How to convert internet links to local filesystem links?
absalom_nemini
Send Email Send Email
 
Mike Breiding - Morgantown WV wrote:
> I downloaded my entire web site via FTP.
> I would now like to convert all the links to my local filesystem.

That is a bit of a problem. I have a locally installed Apache server for
that purpose. Using that I can use a root directory href="/". On all my
sites all internal links are relative one or relative to root, so no
change is necessary. (Very handy for developing, no upload before
viewing.)

> I cannot come up with any utility via a Google search.

Without a local server you do need to change links - a lot of hassle
IMHO. But a simple search and replace should suffice. You have

a) relative links "pics/mountain.jpg"
    No change necessary.
b) Links relative to root beginning with a slash "/icons/icon3.gif"
    You need to replace that first slash with "file:///F:/directory/"
c) Full URLs beginning with "http://epicroadtrips.us/"
    Replace that string with the one above.

Done. All the utitlity you need right there in NT.

Axel

#7268 From: Mike Breiding - Morgantown WV <mike@...>
Date: Sun Nov 11, 2012 4:31 pm
Subject: Re: [NH] How to convert internet links to local filesystem links?
mikebreiding
Send Email Send Email
 
On 11/11/2012 11:07 AM, Axel Berger wrote:
> Mike Breiding - Morgantown WV wrote:
>> I downloaded my entire web site via FTP.
>> I would now like to convert all the links to my local filesystem.
>
> That is a bit of a problem. I have a locally installed Apache server for
> that purpose. Using that I can use a root directory href="/". On all my
> sites all internal links are relative one or relative to root, so no
> change is necessary. (Very handy for developing, no upload before
> viewing.)
>

Arg!
I forgot about PHP aspect of it.
I have WAMP for that.
Others most likely will not.

I think I will forget this idea.
Thanks,
-Mike


>> I cannot come up with any utility via a Google search.
>
> Without a local server you do need to change links - a lot of hassle
> IMHO. But a simple search and replace should suffice. You have
>
> a) relative links "pics/mountain.jpg"
>     No change necessary.
> b) Links relative to root beginning with a slash "/icons/icon3.gif"
>     You need to replace that first slash with "file:///F:/directory/"
> c) Full URLs beginning with "http://epicroadtrips.us/"
>     Replace that string with the one above.
>
> Done. All the utitlity you need right there in NT.
>
> Axel
>

#7269 From: Mike Breiding - Morgantown WV <mike@...>
Date: Sun Nov 11, 2012 4:31 pm
Subject: Re: [NH] How to convert internet links to local filesystem links?
mikebreiding
Send Email Send Email
 
This is not going to work out, Greg.
Thanks for taking the time.
-Mike
============

On 11/11/2012 11:00 AM, Greg Chapman wrote:
> Hi Mike,
>
> On 11 Nov 12 15:22 Mike Breiding - Morgantown WV
> <mike@...> said:
>> I downloaded my entire web site via FTP.
>> I would now like to convert all the links to my local filesystem.
>
> You need to explain a little more about your site and its structure.
>
> I would expect your site to have all your HTML files in the root
> folder on your server. I would expect all images to be in a dedicated
> sub-folder called "images". I would expect all links in the pages to
> those images to take the form:
>
> images/photo.jpg.
>
> i.e. be relative links. If that was the case then whether the the site
> was on your server or on your local disk, the links would work.
>
> That assumes you have downloaded the HTML files to a dedicated folder
> on your local disk and the images have gone to a sub-folder called
> "images". In short, I expect you to "mirror" the two structures and
> use relative links.
>
> Even if relative addresses were not used, it should only be a matter
> of using NoteTab to search for the "http://www.etc" part of an
> absolute address and change it to a relative one, as indicated above.
>
> Greg
>

#7270 From: Axel Berger <Axel-Berger@...>
Date: Sun Nov 11, 2012 5:37 pm
Subject: Humble Request: Please date your pages
absalom_nemini
Send Email Send Email
 
In the times of pure and simple HTML you could look at a page's
metadata, e.g. with right click "View Page Info" and get (among other
stuff) "Modified: 4 July 2008 14:40:03". Often very useful information
IMHO. The function still exists, but nowadays what you get usually is
the very minute you called that page up - useless.

That need not be so. There are several reasons for the "modified" entry
no longer to work:

1) PHP
Add the following at the very top, before the <!Doctype:

<?php
$mtime = filemtime($_SERVER['SCRIPT_FILENAME']);
$last_modified = gmdate('D, d M Y H:i:s', $mtime) . ' GMT';
header("Last-Modified: $last_modified");
?>

2) SSI
Add this to your .htaccess:

SSILastModified on

3) CMSs and blogging software:
Not easy. You have to rely on what your system offers, if anything. But
at least good templates contain a "posted" date somewhere in the layout,
giving some indication of age.


If you use fancy layouts with footers or similar, it is also a good idea
to include the file date in there.

4) When adding the footer through SSI the code may be:

<!--#config timefmt="%Y-%m-%d" -->
Last modified: <!--#echo var="LAST_MODIFIED" -->

Note that this will display the date of the main file, not that of the
generic footer, which is exactly what you want here.

All those fancy new designer additions tend to make us lose what was
best and most powerful about the web. Let us fight back and retain
what's ours by right.

Axel

--
             Dipl.-Ing. F. Axel Berger      Tel: +49/ 2174/ 7439 07
             Johann-Häck-Str. 14            Fax: +49/ 2174/ 7439 68
             D-51519 Odenthal-Heide       eMail: Axel-Berger@...
             Deutschland (Germany)         http://berger-odenthal.de

#7271 From: Jeffery Scism <jeff@...>
Date: Sun Nov 25, 2012 2:44 pm
Subject: Clip Processing HTML pages, Open Documents - ending eternal loop?
scismgenie
Send Email Send Email
 
I am running a  Clip which I want to HTMLTIDY all open documents, after
running the  LAST Clip on each, save then close each one, then process
the next document, by selecting all, run the last run clip, and  close
save and repeat. BUT obviously when it runs out of  documents it tries
to keep going by tidying and  saving a continuous stream of new documents.

How do I tell it to QUIT if  it runs out of documents? (If Then Else?)

The  LAST Clip called inserts the  selected  Content into a  new HTML
documentby using the  "^&" Indicating the paste point in the new HTML
page which REPLACES the current page. It then goes on to the next page
and loops.
Current  clip portion looks like this:

^!SetScreenUpdate OFF
;Html Code inserted here including ^& then more HTML code
;Run HTMLTIDY on focused document
^!RUNTIDY iS
;Close Current Document
^!Close Save
;Return to First Document position, Focus
^!Document First
;Select the entire text of the First Document
^!Select ALL

;(How do I test to see if the focused doc is empty, and if so EXIT the
clip?)

;Run  Last run Clip on First Document
^!KEYBOARD CTRL+SPACEBAR &1000


[Non-text portions of this message have been removed]

#7272 From: "John Shotsky" <jshotsky@...>
Date: Sun Nov 25, 2012 2:57 pm
Subject: RE: [NH] Clip Processing HTML pages, Open Documents - ending eternal loop?
shotsky1
Send Email Send Email
 
Assuming each document has html code, why don't you just test for the presence
of an angle bracket at each open?

Regards,
John
RecipeTools Web Site:  <http://recipetools.gotdns.com/>
http://recipetools.gotdns.com/

From: ntb-html@yahoogroups.com [mailto:ntb-html@yahoogroups.com] On Behalf Of
Jeffery Scism
Sent: Sunday, November 25, 2012 06:45
To: ntb-html@yahoogroups.com
Subject: [NH] Clip Processing HTML pages, Open Documents - ending eternal loop?


I am running a Clip which I want to HTMLTIDY all open documents, after
running the LAST Clip on each, save then close each one, then process
the next document, by selecting all, run the last run clip, and close
save and repeat. BUT obviously when it runs out of documents it tries
to keep going by tidying and saving a continuous stream of new documents.

How do I tell it to QUIT if it runs out of documents? (If Then Else?)

The LAST Clip called inserts the selected Content into a new HTML
documentby using the "^&" Indicating the paste point in the new HTML
page which REPLACES the current page. It then goes on to the next page
and loops.
Current clip portion looks like this:

^!SetScreenUpdate OFF
;Html Code inserted here including ^& then more HTML code
;Run HTMLTIDY on focused document
^!RUNTIDY iS
;Close Current Document
^!Close Save
;Return to First Document position, Focus
^!Document First
;Select the entire text of the First Document
^!Select ALL

;(How do I test to see if the focused doc is empty, and if so EXIT the
clip?)

;Run Last run Clip on First Document
^!KEYBOARD CTRL+SPACEBAR &1000

[Non-text portions of this message have been removed]



[Non-text portions of this message have been removed]

Messages 7243 - 7272 of 7309   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help