Tag Archives

17 Articles

Posted by Dave on

Using modals on this site.

Using modals on this site.

I found the modals a fab way of keeping pages tidy and when writing about DnD games they allow me to hide the hints. i found some examples, and created a page with three modals, which now seem to only display the 3rd. I would like to fix that as I think I will/might use the technique to hide the motions in “Energy, Climate Change and Just Transition”. Anyway, here are my notes and links

Posted by Dave on

Dynamic Styles in HTML

Dynamic Styles in HTML

I was working with Stylish and came across and article that <DIV> tags should be avoided. Stylish uses IDs and CLASSes to change the look & feel Why avoid these elements? A second thought is how can one use buttons to change the look and feel of a page by applying different styles? Do you still need javascript? Here are my notes …

Posted by Dave on

Responsive web sites using CSS

Responsive web sites using CSS

I decided to simplify my site at davelevy.cc and make it look like a linktr.ee page. This is best done using CSS and so I used some very simple HTML, and a bit more complicated CSS. I used the viewport declarations and @media queries. (It’s not perfect yet and needs some more work). Here are my notes. …

Posted by Dave on

User Styles & Stylish

I experimented with User Styles when I was using the old NWN Vault, because their look and feel was terrible, the vault has gone now and the code i.e. the customisations are held on the browser’s disk, so a growing use of cloud computing challenges this as an answer, but overwriting the CSS  can be quite cool.

Posted by Dave on

Featured images in wordpress

My current theme for the blog is not so good when the included text is not as deep as the featured picture. While not having a featured picture is OK for a screen based reader, it’s not so good for those using the wptouch interface. Maybe it’s not so good for deep pictures either.

A google search brings up the codex and these two, similarly named links, together with the codex pages,

With zbench the image and entry text are contained in a single <DIV> with a class name of “entry”. The text is contained in a <P> tag. The image class is “attachment-extra-featured-image wp-post-image”.

  1. Would it look better within a table? This would need to be developed in index & archive pages
  2. Should I use the thumbnail feature?
  3. Can I use the CSS? NB The <P> does not have a class name.

The deep pictures would be solved by by the thumbnail features.

Maybe I should consider the HTML recognition within the excerpt functions.

ooOOOoo

Also the facebook feed does not use the featured picture, but finds the first picture within the post, maybe even the post page since it often uses the up arrow on the vote this up widget.

Posted by Dave on

Rendering RSS on my blog or wiki

I have for a long time sought to present rss feeds within pages on this blog. It was started by a desire to use my social bookmark service as additional links in some of the reference articles on this wiki. The page was started in Jun 2014. Here my notes, although this page was subject to a major re-write in 2020.

There are further notes on my original delicious solution, involving their script and code embed, on Delicious Linkrolls and how I attempted to recover the delicious bookmark file. See also “About Feeds”, which is a private page, using the older wordpress plugins.

This page has notes on all the plugins I have used/experimented with.

Feedzy RSS Feeds Lite

I installed this on my momentum blog, and it sort of works. Here are some links, I got it to render, but can’t get it to post pictures on my rss files and would like to access the element names to fiddle with the css.

  1. https://docs.themeisle.com/article/1130-how-to-use-feedzy-with-a-shortcode

I posted my linkedin.rss to this page on my momentum blog. I had some problems rendering the thumbnail images. I suspect the rss syntax. Here are some links,

  1. https://www.youtube.com/watch?v=PTXnmMlipmo
  2. https://stackoverflow.com/questions/483675/images-in-rss-feed
  3. https://stackoverflow.com/questions/705224/how-do-i-add-an-image-to-an-item-in-rss-2-0

My rss looks like this

<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
    <title>dave levy's linkedin blog</title>
    <description>dave levy's posts at linkedin pulse</description>
    <link>http://davelevy.info/pulse/linkedin.rss</link>
    <lastBuildDate>Tue, 25 Apr 2017 09:45:09 +0100</lastBuildDate>
    <pubDate>Tue, 25 Apr 2017 09:45:09 +0100</pubDate>
<item>
    <title>Learnings of Bitcoin</title>
    <link>https://www.linkedin.com/pulse/learnings-bitcoin-david-levy</link>
    <description>On Bitcoin, the consensus mechanism, and money</description>
    <media:content height="151" medium="image" url="https://static01.nyt.com/images/2019/08/23/upshot/up-econ/up-econ-moth.jpg" width="151"/>
    <pubDate>28 JUL 2020 0900 +0100</pubDate>
</item>
<item>
<title>Doing Record Management well</title>
<link>https://www.linkedin.com/pulse/doing-record-management-well-david-levy/</link>
<description>About Record Management, anti-crime and ISO standards</description>
<image>
    <url>https://is.gd/MwPNtT</url>
    <title>Doing Record Mangement Well</title>
    <link>http://davelevy.info/pulse/linkedin.rss</link>
    <description>About Record Management, anti-crime and ISO standards</description>
    <height>81</height>
    <width>141</width>
</image>
<pubDate>15 JUL 2020 10:00 +0100</pubDate>
</item>
<item>

RSS Shortcode

I have also used RSS Shortcode, and have implemented it on the About Feeds page. I am not sure why I discontinued with this, might have been it gave me nothing that JP-RSS-FEED did not, time to revisit as JP-RSS-Feed seems to have given up the ghost.

JP-RSS-FEED

I moved onto JP’s Get RSS Feed, a wordpress plugin. I planned to use this to replace my delicious linkrolls using the delicious rss location. See also my snip, Delicious Linkrolls.

It requires a shortcode/codesnip to invoke its parameters e.g

 
[jp-rss-feed 
    url="http://feeds.del.icio.us/v2/rss/davelevy/convoyswharf" 
    numitems="7" getdesc="50" ] 

I should document this differently; the snip must be on one line, and no space between the [ & the ‘jp’.

There’s a few more parameters which are documented on their home page

RSS on page via short code

and now we have another RSS rendering widget,RSS via shortcode on page

I am not sure how I used this but it seems I wrote “this was found to be broken on 17th October 2016”.

I fixed the simplepie version of the RSS rendering engine, it errored on the obverse of the home page ; it works on my ex-deliciuious files, but not if named .rss, I changed it to .xml. e.g.

RSS Bruxelles

RSS London

  • Boris Bikes Map
    This is a rather cool mash up. Guerrilla programming is the way to go. Its amzing how these are never produced by the original service provider
  • a charity changing peoles lives through sailing
    Based in Deptford, SE London, the Centre is open to everyone and is a place where you can have the opportunity to enjoy the experience of sailing and boating activities on the Thames in the heart of London.
  • Cartoon Museum
    On 23rd February 2006 London's first cartoon museum opened to the public. Situated at 35 Little Russell Street, a stone's throw from The British Museum, The Cartoon Museum exhibits the very finest examples of British cartoons, caricature, and comic art from the 18th century to the present day.
  • Untitled
    One excellent value hotel chain
  • online - Transport for London
    Buy or top up your Oyster card
  • Canary Wharf
    Looking for a bar to drink at, although this only does the official malls, and excludes the shops on the colonades and squares
  • Power of Yes | Theatre review | Stage | The Guardian
    On at the NT, this is the Guradian's review, on their front apge, not the back.
  • Stirling Ackroyd
    They say "Home - Estate Agents in Bankside, Clerkenwell, Hackney and Shoreditch"
  • Residential Estate Agents in Docklands
    Their home page, with a good district filter
  • - 1 Lombard Street
    Well located and the Restaurant upstairs has a Michelin *.

It seems to have concatenated the two widgets into one short code.

More Maybe

There is also, this page, on the 4 best rss plugins.

Posted by Dave on

Pop Up Meerkats

For various reasons I wanted to make a pop-up on hover using a picture. I have implemented a pop up meerkat in the blog. This broke at some point and I returned to the problem in 2019 and found a new guide, and again in 2020 where I fixed some theme/wordpress bugs. This is now working, here are my notes in which I document the CSS and HTML …

Posted by Dave on

Code Tag

A note on dealing with the code tag. It shows how it looks today and posses the alternatives of a blockquote class and a code rule. It was written while using the zbench theme.

Posted by Dave on

Decorating Blockquotes

Now I have one of those pretty quote decorations in my quotes on this wiki. This post is deprecated. It should have been marked so when I adopted Nulis. You can read what I said in 2013 by using the Read More button. …

Posted by Dave on

Snipsnap Themes

Snipsnap Themes

Snipsnap offered multiple look and feels and for the advanced CSS coder, offered many opportunities to manage itl. My changes were relatively simple. In fact it might have been Snipsnap that took me to Blue Robot which influenced me a lot.

Posted by Dave on

HTML Slide Shows

HTML Slide Shows

I wanted to create a scrolling picture show as a banner on all the pages in a micro site. Many sites use this for their front page decoration. I didn’t want to use animated gif because of the age of the technology.It’s obviously becoming easier. Basic Tips below, shows how to use the HTML META tag with http-equiv=”refresh”attribute set.

Posted by Dave on

Planet (Venus) Themes (CSS)

Planet (Venus) Themes (CSS)

I use Sam Ruby’s Planet Venus. The package comes with two themes, I have always rather liked the ‘Fancy’ theme. This article was finished in May 2011, and talks about the css required to amend a planet output page in HTML/CSS. It was written for my planet G3 feed which was a G3 RSS repeater. It may just be a useful source for those who wish to create new themes. (I shall be doing this in March/April 2015 as I develop the refresh of davelevy.info.)