Monthly Archives: March 2014

List of Class Containers & Things

There are several ways to style a website. The easiest way is to use Cascade Styling Sheets (CSS), where styling control for the entire website is centralized in a single file. The problem, as the website grows, is keeping track of all the styling classes.

DIV is a HTML tag that plays a major role in DIViding the website. For example, a DIV tag divides the site into a global wrapper, header, footer, main text area and side-bar. A DIV tag can be styled using its own identification (id) label in the CSS file. A “class” is a sub style of the DIV container. Sort of like an add-on to the DIV tag.

I’m DIViding the site text area into boxes and assigning class style to the DIV tag. What I am doing is framing the text area for thumbnail images and text, using different class styles.

For RSS Feeds no bottom margin

<DIV class="rss-box">Hello</DIV>
Hello

For image dir 20 px bottom margin

<DIV class="dir-box">Hello</DIV>
Hello

Modified Blockqoute or b-quote

<blockquote>Hello</blockquote>

Hello


Caption style

<DIV class="wp-caption">Hello</DIV>
Hello

<DIV class="rss-box">Hello</DIV>
Hello

<DIV class="rss-box">Hello</DIV>
Hello

For text 20px bottom margin

<DIV class="text-box">Hello</DIV>
Hello

For image galleries no bottom margin

<DIV class="image-box">Hello</DIV>
Hello

For a small quote text

<DIV class="block">Hello</DIV>
Hello

Yellow highlight

<DIV class="rss-box"><span class="hl">Hello</span></DIV>
Hello

<DIV class="rss-box">Hello</DIV>
Hello

<DIV class="rss-box">Hello</DIV>
Hello

The post List of Class Containers & Things appeared first on Rapunzel's Delight.

VB script for YouTube Feeds

Visual Basic (VB) is Microsoft programing language. Very useful. Especially for mundane routines; in this case, the creation of YouTube Feeds.

“Start-index” is a API parameter for displaying a feed, at a specific location within that feed. YouTube allows a maximum of 50 videos to be display in a single API request. In order to display 349 videos in a single complete feed, the start-index must increment 50 videos at for each API request, with the exception of the first request; because, there is no start-index=0. Start-index=1 begins the first API request with max-results=49. There must be seven separate requests to complete a single 349 video feed… (1 x 49) + (6 x 50).

Two separate template files are integrated together using VB to create a single HTML code. First file is the Java template for the Feed2JS request. Feed2JS is a server script converting the RSS feed format to HTML. The java script within the HTML code makes the request for Feed2JS to display the feed. So, the java script template is inserted into the HTML template file, and by using VB replacement command to insert the API parameters in the java template.

Java file template:
<br><script language="JavaScript" src="http://www.rapunzelsdelight.com/feed2js/feed2js.php?src=http%3A%2F%2Fgdata.youtube.com%2Ffeeds%2Fbase%2Fvideos%3Fq%3D*QUERY*%26orderby%3D*ORDERBY*%26start-index%3D*STARTINDEX*%26max-results%3D*MAXRESULTS*%26safeSearch%3Dmoderate%26v%3D2&chan=y&date=y&targ=y&utf=y&pc=y&html=a"  charset="UTF-8" type="text/javascript"></br></script><noscript><a href="http://www.rapunzelsdelight.com/feed2js/feed2js.php?src=http%3A%2F%2Fgdata.youtube.com%2Ffeeds%2Fbase%2Fvideos%3Fq%3D*QUERY*%26orderby%3D*ORDERBY*%26start-index%3D*STARTINDEX*%26max-results%3D*MAXRESULTS*%26safeSearch%3Dmoderate%26v%3D2&chan=y&date=y&targ=y&utf=y&pc=y&html=y">View RSS feed</a></noscript>
HTML file template:
<a name="Bookmark 1"></a>
<h5 style="text-align: center;">Select start index... <a style="text-decoration: none; line-height: 30px;" title="Start Index 1" href="#Bookmark 1">[1]</a> <a style="text-decoration: none;" title="Start Index 50" href="#Bookmark 2">[50]</a> <a style="text-decoration: none;" title="Start Index 100" href="#Bookmark 3">[100]</a> <a style="text-decoration: none;" title="Start Index 150" href="#Bookmark 4">[150]</a> <a style="text-decoration: none;" title="Start Index 200" href="#Bookmark 5">[200]</a> <a style="text-decoration: none;" title="Start Index 250" href="#Bookmark 6">[250]</a> <a style="text-decoration: none;" title="Start Index 300" href="#Bookmark 7">[300]</a></h5>
<h5 style="text-align: center;">Now at start index 1</h5>

INSERT JAVA HERE START INDEX 001

<a name="Bookmark 2"></a>
<h5 style="text-align: center;">Select start index... <a style="text-decoration: none; line-height: 30px;" title="Start Index 1" href="#Bookmark 1">[1]</a> <a style="text-decoration: none;" title="Start Index 50" href="#Bookmark 2">[50]</a> <a style="text-decoration: none;" title="Start Index 100" href="#Bookmark 3">[100]</a> <a style="text-decoration: none;" title="Start Index 150" href="#Bookmark 4">[150]</a> <a style="text-decoration: none;" title="Start Index 200" href="#Bookmark 5">[200]</a> <a style="text-decoration: none;" title="Start Index 250" href="#Bookmark 6">[250]</a> <a style="text-decoration: none;" title="Start Index 300" href="#Bookmark 7">[300]</a></h5>
<h5 style="text-align: center;">Now at start index 50</h5>

INSERT JAVA HERE START INDEX 050

<a name="Bookmark 3"></a>
<h5 style="text-align: center;">Select start index... <a style="text-decoration: none; line-height: 30px;" title="Start Index 1" href="#Bookmark 1">[1]</a> <a style="text-decoration: none;" title="Start Index 50" href="#Bookmark 2">[50]</a> <a style="text-decoration: none;" title="Start Index 100" href="#Bookmark 3">[100]</a> <a style="text-decoration: none;" title="Start Index 150" href="#Bookmark 4">[150]</a> <a style="text-decoration: none;" title="Start Index 200" href="#Bookmark 5">[200]</a> <a style="text-decoration: none;" title="Start Index 250" href="#Bookmark 6">[250]</a> <a style="text-decoration: none;" title="Start Index 300" href="#Bookmark 7">[300]</a></h5>
<h5 style="text-align: center;">Now at start index 100</h5>

INSERT JAVA HERE START INDEX 100

<a name="Bookmark 4"></a>
<h5 style="text-align: center;">Select start index... <a style="text-decoration: none; line-height: 30px;" title="Start Index 1" href="#Bookmark 1">[1]</a> <a style="text-decoration: none;" title="Start Index 50" href="#Bookmark 2">[50]</a> <a style="text-decoration: none;" title="Start Index 100" href="#Bookmark 3">[100]</a> <a style="text-decoration: none;" title="Start Index 150" href="#Bookmark 4">[150]</a> <a style="text-decoration: none;" title="Start Index 200" href="#Bookmark 5">[200]</a> <a style="text-decoration: none;" title="Start Index 250" href="#Bookmark 6">[250]</a> <a style="text-decoration: none;" title="Start Index 300" href="#Bookmark 7">[300]</a></h5>
<h5 style="text-align: center;">Now at start index 150</h5>

INSERT JAVA HERE START INDEX 150

<a name="Bookmark 5"></a>
<h5 style="text-align: center;">Select start index... <a style="text-decoration: none; line-height: 30px;" title="Start Index 1" href="#Bookmark 1">[1]</a> <a style="text-decoration: none;" title="Start Index 50" href="#Bookmark 2">[50]</a> <a style="text-decoration: none;" title="Start Index 100" href="#Bookmark 3">[100]</a> <a style="text-decoration: none;" title="Start Index 150" href="#Bookmark 4">[150]</a> <a style="text-decoration: none;" title="Start Index 200" href="#Bookmark 5">[200]</a> <a style="text-decoration: none;" title="Start Index 250" href="#Bookmark 6">[250]</a> <a style="text-decoration: none;" title="Start Index 300" href="#Bookmark 7">[300]</a></h5>
<h5 style="text-align: center;">Now at start index 200</h5>

INSERT JAVA HERE START INDEX 200

<a name="Bookmark 6"></a>
<h5 style="text-align: center;">Select start index... <a style="text-decoration: none; line-height: 30px;" title="Start Index 1" href="#Bookmark 1">[1]</a> <a style="text-decoration: none;" title="Start Index 50" href="#Bookmark 2">[50]</a> <a style="text-decoration: none;" title="Start Index 100" href="#Bookmark 3">[100]</a> <a style="text-decoration: none;" title="Start Index 150" href="#Bookmark 4">[150]</a> <a style="text-decoration: none;" title="Start Index 200" href="#Bookmark 5">[200]</a> <a style="text-decoration: none;" title="Start Index 250" href="#Bookmark 6">[250]</a> <a style="text-decoration: none;" title="Start Index 300" href="#Bookmark 7">[300]</a></h5>
<h5 style="text-align: center;">Now at start index 250</h5>

INSERT JAVA HERE START INDEX 250

<a name="Bookmark 7"></a>
<h5 style="text-align: center;">Select start index... <a style="text-decoration: none; line-height: 30px;" title="Start Index 1" href="#Bookmark 1">[1]</a> <a style="text-decoration: none;" title="Start Index 50" href="#Bookmark 2">[50]</a> <a style="text-decoration: none;" title="Start Index 100" href="#Bookmark 3">[100]</a> <a style="text-decoration: none;" title="Start Index 150" href="#Bookmark 4">[150]</a> <a style="text-decoration: none;" title="Start Index 200" href="#Bookmark 5">[200]</a> <a style="text-decoration: none;" title="Start Index 250" href="#Bookmark 6">[250]</a> <a style="text-decoration: none;" title="Start Index 300" href="#Bookmark 7">[300]</a></h5>
<h5 style="text-align: center;">Now at start index 300</h5>

INSERT JAVA HERE START INDEX 300
VB code:
Imports System.IO
Module Module1
Dim java As String
Dim html As String

Dim QueryString As String

Dim StartIndex As Integer

'Dim java As String
'Dim html As String

Dim javaInsert As String
Dim htmlInsert As String

Dim margin As String

Sub Main()

'Start building HTML text files +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
'++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Console.Write("Use quotes. Space plus -cut, will remove cut in results" + vbNewLine)
Console.Write("Enter query string:  ")
QueryString = Console.ReadLine()
QueryString = QueryString.Replace(Chr(34), "%2522")
QueryString = QueryString.Replace("+", "%2B")
QueryString = QueryString.Replace(" ", "%2B")

'Console.Write(QueryString)
'Console.Read()

Dim published As New StreamWriter("C:\Users\Alan\Desktop\YouTube RSS Feed Template\Finished orderby published.txt")
Dim rating As New StreamWriter("C:\Users\Alan\Desktop\YouTube RSS Feed Template\Finished orderby rating.txt")
Dim relevance As New StreamWriter("C:\Users\Alan\Desktop\YouTube RSS Feed Template\Finished orderby relevance.txt")
Dim viewCount As New StreamWriter("C:\Users\Alan\Desktop\YouTube RSS Feed Template\Finished orderby viewCount.txt")

Dim JavaTemplate As New StreamReader("C:\Users\Alan\Desktop\YouTube RSS Feed Template\java template.txt")
java = JavaTemplate.ReadLine
JavaTemplate.Close()


Dim HTMLTemplate As New StreamReader("C:\Users\Alan\Desktop\YouTube RSS Feed Template\html template.txt")
Do While HTMLTemplate.Peek() >= 0
html = html + HTMLTemplate.ReadLine
Loop
HTMLTemplate.Close()

margin = "style=" + Chr(34) + "margin=0;" + Chr(34)

'--------------------------------------------------------------------------------
'Published

javaInsert = java
htmlInsert = html

javaInsert = javaInsert.Replace("*QUERY*", QueryString)
javaInsert = javaInsert.Replace("*ORDERBY*", "published")
javaInsert = javaInsert.Replace("*STARTINDEX*", "1")
javaInsert = javaInsert.Replace("*MAXRESULTS*", "49")
htmlInsert = htmlInsert.Replace("INSERT JAVA HERE START INDEX 001", javaInsert)

javaInsert = java

javaInsert = javaInsert.Replace("*QUERY*", QueryString)
javaInsert = javaInsert.Replace("*ORDERBY*", "published")
javaInsert = javaInsert.Replace("*STARTINDEX*", "50")
javaInsert = javaInsert.Replace("*MAXRESULTS*", "50")
htmlInsert = htmlInsert.Replace("INSERT JAVA HERE START INDEX 050", javaInsert)

javaInsert = java

javaInsert = javaInsert.Replace("*QUERY*", QueryString)
javaInsert = javaInsert.Replace("*ORDERBY*", "published")
javaInsert = javaInsert.Replace("*STARTINDEX*", "100")
javaInsert = javaInsert.Replace("*MAXRESULTS*", "50")
htmlInsert = htmlInsert.Replace("INSERT JAVA HERE START INDEX 100", javaInsert)

javaInsert = java

javaInsert = javaInsert.Replace("*QUERY*", QueryString)
javaInsert = javaInsert.Replace("*ORDERBY*", "published")
javaInsert = javaInsert.Replace("*STARTINDEX*", "150")
javaInsert = javaInsert.Replace("*MAXRESULTS*", "50")
htmlInsert = htmlInsert.Replace("INSERT JAVA HERE START INDEX 150", javaInsert)

javaInsert = java

javaInsert = javaInsert.Replace("*QUERY*", QueryString)
javaInsert = javaInsert.Replace("*ORDERBY*", "published")
javaInsert = javaInsert.Replace("*STARTINDEX*", "200")
javaInsert = javaInsert.Replace("*MAXRESULTS*", "50")
htmlInsert = htmlInsert.Replace("INSERT JAVA HERE START INDEX 200", javaInsert)

javaInsert = java

javaInsert = javaInsert.Replace("*QUERY*", QueryString)
javaInsert = javaInsert.Replace("*ORDERBY*", "published")
javaInsert = javaInsert.Replace("*STARTINDEX*", "250")
javaInsert = javaInsert.Replace("*MAXRESULTS*", "50")
htmlInsert = htmlInsert.Replace("INSERT JAVA HERE START INDEX 250", javaInsert)

javaInsert = java

javaInsert = javaInsert.Replace("*QUERY*", QueryString)
javaInsert = javaInsert.Replace("*ORDERBY*", "published")
javaInsert = javaInsert.Replace("*STARTINDEX*", "300")
javaInsert = javaInsert.Replace("*MAXRESULTS*", "50")
htmlInsert = htmlInsert.Replace("INSERT JAVA HERE START INDEX 300", javaInsert)

published.WriteLine("<h4 style=" + Chr(34) + "margin: 0;" + Chr(34) + ">Feed order by published</h4>" + htmlInsert)
published.Close()

'--------------------------------------------------------------------------------
'Rating

javaInsert = java
htmlInsert = html

javaInsert = javaInsert.Replace("*QUERY*", QueryString)
javaInsert = javaInsert.Replace("*ORDERBY*", "rating")
javaInsert = javaInsert.Replace("*STARTINDEX*", "1")
javaInsert = javaInsert.Replace("*MAXRESULTS*", "49")
htmlInsert = htmlInsert.Replace("INSERT JAVA HERE START INDEX 001", javaInsert)

javaInsert = java

javaInsert = javaInsert.Replace("*QUERY*", QueryString)
javaInsert = javaInsert.Replace("*ORDERBY*", "rating")
javaInsert = javaInsert.Replace("*STARTINDEX*", "50")
javaInsert = javaInsert.Replace("*MAXRESULTS*", "50")
htmlInsert = htmlInsert.Replace("INSERT JAVA HERE START INDEX 050", javaInsert)

javaInsert = java

javaInsert = javaInsert.Replace("*QUERY*", QueryString)
javaInsert = javaInsert.Replace("*ORDERBY*", "rating")
javaInsert = javaInsert.Replace("*STARTINDEX*", "100")
javaInsert = javaInsert.Replace("*MAXRESULTS*", "50")
htmlInsert = htmlInsert.Replace("INSERT JAVA HERE START INDEX 100", javaInsert)

javaInsert = java

javaInsert = javaInsert.Replace("*QUERY*", QueryString)
javaInsert = javaInsert.Replace("*ORDERBY*", "rating")
javaInsert = javaInsert.Replace("*STARTINDEX*", "150")
javaInsert = javaInsert.Replace("*MAXRESULTS*", "50")
htmlInsert = htmlInsert.Replace("INSERT JAVA HERE START INDEX 150", javaInsert)

javaInsert = java

javaInsert = javaInsert.Replace("*QUERY*", QueryString)
javaInsert = javaInsert.Replace("*ORDERBY*", "rating")
javaInsert = javaInsert.Replace("*STARTINDEX*", "200")
javaInsert = javaInsert.Replace("*MAXRESULTS*", "50")
htmlInsert = htmlInsert.Replace("INSERT JAVA HERE START INDEX 200", javaInsert)

javaInsert = java

javaInsert = javaInsert.Replace("*QUERY*", QueryString)
javaInsert = javaInsert.Replace("*ORDERBY*", "rating")
javaInsert = javaInsert.Replace("*STARTINDEX*", "250")
javaInsert = javaInsert.Replace("*MAXRESULTS*", "50")
htmlInsert = htmlInsert.Replace("INSERT JAVA HERE START INDEX 250", javaInsert)

javaInsert = java

javaInsert = javaInsert.Replace("*QUERY*", QueryString)
javaInsert = javaInsert.Replace("*ORDERBY*", "rating")
javaInsert = javaInsert.Replace("*STARTINDEX*", "300")
javaInsert = javaInsert.Replace("*MAXRESULTS*", "50")
htmlInsert = htmlInsert.Replace("INSERT JAVA HERE START INDEX 300", javaInsert)

rating.WriteLine("<h4 style=" + Chr(34) + "margin: 0;" + Chr(34) + ">Feed order by rating</h4>" + htmlInsert)
rating.Close()

'--------------------------------------------------------------------------------
'relevance

javaInsert = java
htmlInsert = html

javaInsert = javaInsert.Replace("*QUERY*", QueryString)
javaInsert = javaInsert.Replace("*ORDERBY*", "relevance")
javaInsert = javaInsert.Replace("*STARTINDEX*", "1")
javaInsert = javaInsert.Replace("*MAXRESULTS*", "49")
htmlInsert = htmlInsert.Replace("INSERT JAVA HERE START INDEX 001", javaInsert)

javaInsert = java

javaInsert = javaInsert.Replace("*QUERY*", QueryString)
javaInsert = javaInsert.Replace("*ORDERBY*", "relevance")
javaInsert = javaInsert.Replace("*STARTINDEX*", "50")
javaInsert = javaInsert.Replace("*MAXRESULTS*", "50")
htmlInsert = htmlInsert.Replace("INSERT JAVA HERE START INDEX 050", javaInsert)

javaInsert = java

javaInsert = javaInsert.Replace("*QUERY*", QueryString)
javaInsert = javaInsert.Replace("*ORDERBY*", "relevance")
javaInsert = javaInsert.Replace("*STARTINDEX*", "100")
javaInsert = javaInsert.Replace("*MAXRESULTS*", "50")
htmlInsert = htmlInsert.Replace("INSERT JAVA HERE START INDEX 100", javaInsert)

javaInsert = java

javaInsert = javaInsert.Replace("*QUERY*", QueryString)
javaInsert = javaInsert.Replace("*ORDERBY*", "relevance")
javaInsert = javaInsert.Replace("*STARTINDEX*", "150")
javaInsert = javaInsert.Replace("*MAXRESULTS*", "50")
htmlInsert = htmlInsert.Replace("INSERT JAVA HERE START INDEX 150", javaInsert)

javaInsert = java

javaInsert = javaInsert.Replace("*QUERY*", QueryString)
javaInsert = javaInsert.Replace("*ORDERBY*", "relevance")
javaInsert = javaInsert.Replace("*STARTINDEX*", "200")
javaInsert = javaInsert.Replace("*MAXRESULTS*", "50")
htmlInsert = htmlInsert.Replace("INSERT JAVA HERE START INDEX 200", javaInsert)

javaInsert = java

javaInsert = javaInsert.Replace("*QUERY*", QueryString)
javaInsert = javaInsert.Replace("*ORDERBY*", "relevance")
javaInsert = javaInsert.Replace("*STARTINDEX*", "250")
javaInsert = javaInsert.Replace("*MAXRESULTS*", "50")
htmlInsert = htmlInsert.Replace("INSERT JAVA HERE START INDEX 250", javaInsert)

javaInsert = java

javaInsert = javaInsert.Replace("*QUERY*", QueryString)
javaInsert = javaInsert.Replace("*ORDERBY*", "relevance")
javaInsert = javaInsert.Replace("*STARTINDEX*", "300")
javaInsert = javaInsert.Replace("*MAXRESULTS*", "50")
htmlInsert = htmlInsert.Replace("INSERT JAVA HERE START INDEX 300", javaInsert)

relevance.WriteLine("<h4 style=" + Chr(34) + "margin: 0;" + Chr(34) + ">Feed order by relevance</h4>" + htmlInsert)
relevance.Close()

'--------------------------------------------------------------------------------
'viewCount

javaInsert = java
htmlInsert = html

javaInsert = javaInsert.Replace("*QUERY*", QueryString)
javaInsert = javaInsert.Replace("*ORDERBY*", "viewCount")
javaInsert = javaInsert.Replace("*STARTINDEX*", "1")
javaInsert = javaInsert.Replace("*MAXRESULTS*", "49")
htmlInsert = htmlInsert.Replace("INSERT JAVA HERE START INDEX 001", javaInsert)

javaInsert = java

javaInsert = javaInsert.Replace("*QUERY*", QueryString)
javaInsert = javaInsert.Replace("*ORDERBY*", "viewCount")
javaInsert = javaInsert.Replace("*STARTINDEX*", "50")
javaInsert = javaInsert.Replace("*MAXRESULTS*", "50")
htmlInsert = htmlInsert.Replace("INSERT JAVA HERE START INDEX 050", javaInsert)

javaInsert = java

javaInsert = javaInsert.Replace("*QUERY*", QueryString)
javaInsert = javaInsert.Replace("*ORDERBY*", "viewCount")
javaInsert = javaInsert.Replace("*STARTINDEX*", "100")
javaInsert = javaInsert.Replace("*MAXRESULTS*", "50")
htmlInsert = htmlInsert.Replace("INSERT JAVA HERE START INDEX 100", javaInsert)

javaInsert = java

javaInsert = javaInsert.Replace("*QUERY*", QueryString)
javaInsert = javaInsert.Replace("*ORDERBY*", "viewCount")
javaInsert = javaInsert.Replace("*STARTINDEX*", "150")
javaInsert = javaInsert.Replace("*MAXRESULTS*", "50")
htmlInsert = htmlInsert.Replace("INSERT JAVA HERE START INDEX 150", javaInsert)

javaInsert = java

javaInsert = javaInsert.Replace("*QUERY*", QueryString)
javaInsert = javaInsert.Replace("*ORDERBY*", "viewCount")
javaInsert = javaInsert.Replace("*STARTINDEX*", "200")
javaInsert = javaInsert.Replace("*MAXRESULTS*", "50")
htmlInsert = htmlInsert.Replace("INSERT JAVA HERE START INDEX 200", javaInsert)

javaInsert = java

javaInsert = javaInsert.Replace("*QUERY*", QueryString)
javaInsert = javaInsert.Replace("*ORDERBY*", "viewCount")
javaInsert = javaInsert.Replace("*STARTINDEX*", "250")
javaInsert = javaInsert.Replace("*MAXRESULTS*", "50")
htmlInsert = htmlInsert.Replace("INSERT JAVA HERE START INDEX 250", javaInsert)

javaInsert = java

javaInsert = javaInsert.Replace("*QUERY*", QueryString)
javaInsert = javaInsert.Replace("*ORDERBY*", "viewCount")
javaInsert = javaInsert.Replace("*STARTINDEX*", "300")
javaInsert = javaInsert.Replace("*MAXRESULTS*", "50")
htmlInsert = htmlInsert.Replace("INSERT JAVA HERE START INDEX 300", javaInsert)

viewCount.WriteLine("<h4 style=" + Chr(34) + "margin: 0;" + Chr(34) + ">Feed order by viewCount</h4>" + htmlInsert)
viewCount.Close()

'Console.Write(javaInsert)
'Console.Read()
End Sub

End Module

The post VB script for YouTube Feeds appeared first on Rapunzel's Delight.

Change CSS class=”columntwo” width from 49% to 50%

Checking to see if this will be a problem. Moved it up one percent to even the width in relation to other text-box/rss-box style for dual columns.

.columntwo {
	width: 50%;
	float: left;
	margin: 0;
/*	background: #eee;
	border: 2px solid #ddd;
	padding: 0;
	font-size: 13px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-box-shadow: 3px 3px 4px rgba(0,0,0,0.05); */
}

The post Change CSS class=”columntwo” width from 49% to 50% appeared first on Rapunzel's Delight.

Alpha-lipoic acid / low-dose naltrexone protocol

Where ignorance is bliss, ‘Tis folly to be wise.

– Thomas Gray

Thomas Gray was an English poet, letter-writer, classical scholar and professor at Cambridge University. He is widely known for his Elegy Written in a Country Churchyard, published in 1751. Wikipedia
  • Alpha-lipoic acid is made from spinach, commonly found in health food stores.
  • Low-dose naltrexone is a inexpensive drug that helps jump start the immune system.

I have listened to Dr Berkson discuss the alpha-lipoic acid / low-dose naltrexone protocol: Liver damage from toxic mushrooms and hepatitis c is reversed. He is shunned by his own medical peers by this discovery.

The long-term survival of a patient with pancreatic cancer with metastases to the liver after treatment with the intravenous alpha-lipoic acid/low-dose naltrexone protocol.
Berkson BM1, Rubin DM, Berkson AJ.
Author information

Abstract

The authors describe the long-term survival of a patient with pancreatic cancer without any toxic adverse effects. The treatment regimen includes the intravenous alpha-lipoic acid and low-dose naltrexone (ALA-N) protocol and a healthy lifestyle program. The patient was told by a reputable university oncology center in October 2002 that there was little hope for his survival. Today, January 2006, however, he is back at work, free from symptoms, and without appreciable progression of his malignancy. The integrative protocol described in this article may have the possibility of extending the life of a patient who would be customarily considered to be terminal. The authors believe that life scientists will one day develop a cure for metastatic pancreatic cancer, perhaps via gene therapy or another biological platform. But until such protocols come to market, the ALA-N protocol should be studied and considered, given its lack of toxicity at levels reported. Several other patients are on this treatment protocol and appear to be doing well at this time.

http://www.ncbi.nlm.nih.gov/pubmed/16484716

The post Alpha-lipoic acid / low-dose naltrexone protocol appeared first on Rapunzel's Delight.

New Page Setup Template

Short codes are disabled. The following will produce….

  • page headed with a two column container for the child directories,
  • a container for introduction and quote text(s),
  • and a container for a three column amazon product display, designed to collapse to a single column at 530 px browser width.

Current classes are…

  • class=”dir-box”dark box; a dark color background to enhance featured thumbnails.
  • class=”columntwo”; invisible. Set to collapse at 530 px browser width.
  • class=”text-box”; a light shade of white for background.
  • class=”three-column-1; a white color box designed for three column display collapsing to to single column. Left and right borders and padding are set to a minimum size till I figure out inside bordering in CSS3 for responsive three column layout.
<div id="containertwocolumn">
<div class="columntwo">Left column dir list</div>
<div class="columntwo">Right column dir list[ pagelist_ext parent="4411" show_content="0" image_width="100" image_height="100" ]</div>
</div>
<div style="clear: both;"></div>
<div class="text-box">Introduction quote text here</div>
<div id="containertwocolumn">
<div class="three-column-1">
<h4 style="text-align: center;">Inversion Tables<a href="http://www.amazon.com/s/?_encoding=UTF8&amp;camp=1789&amp;creative=390957&amp;field-keywords=inversion%20tables%20all&amp;linkCode=ur2&amp;sprefix=inversion%20table%2Csporting%2C479&amp;tag=rapunzelsdeli-20&amp;url=search-alias%3Dsporting" target="_blank"><img title="More items in this category" alt="More items in this category" src="http://www.healthpeddler.com/wordpress/wp-content/uploads/2013/05/more-items.png" width="65" height="24" /></a></h4>
[ wpzon Keywords="Inversion Table" sindex="SportingGoods" sort="relevancerank" listing="10" ]
<h4 style="text-align: center;"><a href="http://www.amazon.com/s/?_encoding=UTF8&amp;camp=1789&amp;creative=390957&amp;field-keywords=inversion%20tables%20all&amp;linkCode=ur2&amp;sprefix=inversion%20table%2Csporting%2C479&amp;tag=rapunzelsdeli-20&amp;url=search-alias%3Dsporting" target="_blank"><img title="More items in this category" alt="More items in this category" src="http://www.healthpeddler.com/wordpress/wp-content/uploads/2013/05/more-items.png" width="65" height="24" /></a></h4>
</div>
<div class="three-column-1">
<h4 style="text-align: center;">Inversion Chairs<a href="http://www.amazon.com/s/?_encoding=UTF8&amp;camp=1789&amp;creative=390957&amp;linkCode=ur2&amp;pageMinusResults=1&amp;suo=1382888453253&amp;tag=rapunzelsdeli-20&amp;url=search-alias%3Dsporting#/ref=nb_sb_noss_1?url=search-alias%3Dsporting&amp;field-keywords=inversion%20chair&amp;sprefix=inversion+chai%2Csporting&amp;rh=i%3Asporting%2Ck%3Ainversion%20chair&amp;sepatfbtf=true&amp;tc=1382888467093" target="_blank"><img title="More items in this category" alt="More items in this category" src="http://www.healthpeddler.com/wordpress/wp-content/uploads/2013/05/more-items.png" width="65" height="24" /></a></h4>
[ wpzon Keywords="Inversion Chair" sindex="SportingGoods" sort="relevancerank" listing="10" ]
<h4 style="text-align: center;"><a href="http://www.amazon.com/s/?_encoding=UTF8&amp;camp=1789&amp;creative=390957&amp;linkCode=ur2&amp;pageMinusResults=1&amp;suo=1382888453253&amp;tag=rapunzelsdeli-20&amp;url=search-alias%3Dsporting#/ref=nb_sb_noss_1?url=search-alias%3Dsporting&amp;field-keywords=inversion%20chair&amp;sprefix=inversion+chai%2Csporting&amp;rh=i%3Asporting%2Ck%3Ainversion%20chair&amp;sepatfbtf=true&amp;tc=1382888467093" target="_blank"><img title="More items in this category" alt="More items in this category" src="http://www.healthpeddler.com/wordpress/wp-content/uploads/2013/05/more-items.png" width="65" height="24" /></a></h4>
</div>
<div class="three-column-1">
<h4 style="text-align: center;">Seated Inversion<a href="http://www.amazon.com/s/?_encoding=UTF8&amp;camp=1789&amp;creative=390957&amp;linkCode=ur2&amp;pageMinusResults=1&amp;suo=1382888453253&amp;tag=rapunzelsdeli-20&amp;url=search-alias%3Dsporting#/ref=nb_sb_noss_1?url=search-alias%3Dsporting&amp;field-keywords=inversion%20chair&amp;sprefix=inversion+chai%2Csporting&amp;rh=i%3Asporting%2Ck%3Ainversion%20chair&amp;sepatfbtf=true&amp;tc=1382888467093" target="_blank"><img title="More items in this category" alt="More items in this category" src="http://www.healthpeddler.com/wordpress/wp-content/uploads/2013/05/more-items.png" width="65" height="24" /></a></h4>
[ wpzon keywords="seated inversion" sindex="SportingGoods" snode="3408421" sort="relevancerank" listing="10" ]
<h4 style="text-align: center;"><a href="http://www.amazon.com/s/?_encoding=UTF8&amp;camp=1789&amp;creative=390957&amp;linkCode=ur2&amp;pageMinusResults=1&amp;suo=1382888453253&amp;tag=rapunzelsdeli-20&amp;url=search-alias%3Dsporting#/ref=nb_sb_noss_1?url=search-alias%3Dsporting&amp;field-keywords=inversion%20chair&amp;sprefix=inversion+chai%2Csporting&amp;rh=i%3Asporting%2Ck%3Ainversion%20chair&amp;sepatfbtf=true&amp;tc=1382888467093" target="_blank"><img title="More items in this category" alt="More items in this category" src="http://www.healthpeddler.com/wordpress/wp-content/uploads/2013/05/more-items.png" width="65" height="24" /></a></h4>
</div>
<div style="clear: both;"></div>
</div>

The post New Page Setup Template appeared first on Rapunzel's Delight.