Skip to content

Instantly share code, notes, and snippets.

ITfee

Block or report user

Report or block ITfee

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ITfee
ITfee / newsfeed.cfm
Created Mar 4, 2016
Include RSS-Feed into ColdFusion powered Website
View newsfeed.cfm
<cfset rssUrl = "http://itfee.de/feed">
<cffeed action="read" source="#rssUrl#" query="entries" properties="info">
<cfoutput query="entries" maxrows="3">
<div id="news">
<div id="datum">
<cfset stringtoreplace = #DateFormat(publisheddate,"dd. mmmmm yyyy")#>
#ReplaceList(stringtoreplace, "January,February,March,May,June,July,October,December", "Januar,Februar,M&auml;rz,Mai,Juni,Juli,Oktober,Dezember")#
</div>
<div id="headline">#title#</div>
<div id="text">#content# <a href="#rsslink#">Weiterlesen</a></div>
@ITfee
ITfee / web.config Redirect
Last active Feb 9, 2016
Redirect Subdirectory to Subdomain on Windows Webserver
View web.config Redirect
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Rewrite to http://sub.mydomain.de/" stopProcessing="true">
<match url="subdirectory/" />
<action type="Redirect" url="http://sub.mydomain.de" />
</rule>
</rules>
@ITfee
ITfee / WordPress Advertorial Plugin
Created Apr 16, 2015
WordPress Plugin Boilerplate for Custom Post Type "Advertorials" for self-marketing and client ads (e.g. whitepaper, promoting events or new releases).
View WordPress Advertorial Plugin
<?php
/*
Plugin Name: Advertorials
Plugin URI: http://itfee.de/werbung-in-wordpress-per-custom-post-type-kennzeichnen/774
Description: Custom Post Type for self-marketing and client ads (e.g. whitepaper, promoting events or new releases)
Version: 0.1
Author: Roy Dittmann
Author URI: http://itfee.de
*/
You can’t perform that action at this time.