<< < 15 16 17 18 19 20 21 22 23 24 25 > >>   Sort: Date

Defining and Using Class for New Data Types
Where to find tutorials on Defining and Using Class for New Data Types in Python? Here is a list of tutorials to answer many frequently asked questions compiled by FYIcenter.com team on Defining and Using Class for New Data Types in Python: What Is Class 'class' - Class Definition Statements Classes...
2018-05-08, 330👍, 0💬

Add Request URL Template Parameters - 2017 Version
How to add request URL Template Parameters to my Azure API operation 2017 version to make it more user friendly? If your API Operation requires some key parameters, you put them as template parameters in the URL template of the operation. Using template parameters reduces the need for providing para...
2018-06-12, 329👍, 0💬

Atom Validation Errors at w3.org
How to read Atom validation errors at w3.org? If your Atom feed has errors, the Atom validator at w3.org will detect the errors and provide information to help you to resolve them as shown in this tutorial: 1. Go to Feed Validation Service at w3.org. 2. Click the "Validate by Direct Input" tab. You ...
2017-12-31, 329👍, 0💬

Create "Add to My Yahoo" Button
How To Create an "Add to My Yahoo" Button on Your Website? If you want to create an "Add to My Yahoo" button your own Web site, you can follow this tutorial: 1. Create an RSS Atom 1.0 feed file for your site, and make it accessible with a URL. If the feed file is generated dynamically, take the URL ...
2017-09-24, 328👍, 0💬

RSS "channel/item" Element
What is the RSS "channel/item" element? The RSS "channel/item" element is an optional sub element of the "channel" element to specify a news item of this RSS feed. The RSS "channel/item" element contains the following sub elements. title - REQUIRED, if "description" is not specified. The title of th...
2017-11-11, 327👍, 0💬

Pass Function as Function Parameter
How to pass function objects as function parameters? You can pass function objects like any other types of objects as parameters of other functions. For example, &gt;&gt;&gt; def x(): ... print("Hello world!") ... &gt;&gt;&gt; def addVersion(f): ... f.version = "1.0" ... f.au...
2018-02-08, 326👍, 0💬

HTML Element Content Models
What Are the HTML Element Content Models? There are 4 content models defined for HTML elements: 1. EMPTY - No content. Nothing between the opening tag and the closing tag. For example: &lt;br/&gt; - "br" element has no content. &lt;br&gt;&lt;/br& amp;gt;- Same as above. &lt;m...
2017-07-30, 326👍, 0💬

API Management Service on Azure Portal
Where is API Management Service on my Azure Portal? If your IT department has signed up for an Azure API Management Service, they should give your Azure URL link that brings your to the Azure API Management Service directly. If don't have URL link, you can follow these steps to find your Azure API M...
2018-04-21, 325👍, 0💬

JSON to XML Conversion at utilities-online.info
How to use the JSON to XML Conversion Tool at utilities-online.info? If you want to try the JSON to XML Conversion Tool at utilities-online.info, you can follow this tutorial: 1. Go to the JSON and XML Conversion Tool page at utilities-online.info. 2. Enter the following JSON value in the JSON text ...
2018-03-18, 324👍, 0💬

Policy to Set and Get Custom Variables
How to write a policy to set and get custom variables? Here is a policy that sets and gets custom variables: &lt;!-- Set-Get-Variable-Policy.xml Copyright (c) FYIcenter.com --&gt; &lt;policies&gt; &lt;inbound&gt; &lt;set-variable name="version" value="1.11" /&gt; &...
2017-10-23, 321👍, 0💬

Functions Are Objects Too
Are functions objects in Python? Yes, all functions are objects of "function" type in Python? You can verify this with the following Python code: &gt;&gt;&gt; def x(): ... print("Hello world!") ... &gt;&gt;&gt; type(x) &lt;class 'function'&gt; In other words, the "def...
2018-02-08, 320👍, 0💬

Verify Python Installation on Windows
How to verify the Python installation on my Windows computer? You can follow this tutorial to verify the Python installation on your Windows computer: 1. Search Python with the Start button - Enter "Python" in the search box after clicking the "Start" button. If the "Python" is displayed in the sear...
2018-04-12, 319👍, 0💬

Function Parameters Assigned with Object References
Is it true that all function parameters are assigned with object references in Python? Yes, all function parameters are assigned with object references in Python. You modify referenced data objects to share data with the calling statement. Here is a good example of modifying the data object referenc...
2018-02-08, 318👍, 0💬

Atom Element Types: "feed" and "entry"
What are main Atom element types? There are 2 main element types defined for Atom feed files: Atom Feed Element - Representing an Atom feed, including metadata about the feed, and some or all of the entries associated with it. Its root element is the &lt;feed&gt; element. Atom Entry Element ...
2017-12-09, 318👍, 0💬

Protect XML Special Characters in RSS Feeds
How to protect XML Special Characters in RSS Feeds? An RSS document is an XML document. And there 3 primary XML special characters you need to protect them, if you are using them in your RSS element contents: "&lt;" - Used to indicate the start of an XML element tag. It needs to be protected usi...
2017-11-05, 318👍, 0💬

Atom Document Structure
What Is the Atom Document Structure? An Atom feed document must have a root element called "feed". Within in the "feed" element, one or more "entry" elements are enclosed. The high level structure of an Atom feed document looks like: &lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;feed ...
2017-09-28, 318👍, 0💬

'set-variable' Statement to Create Custom Variables
How to use the "set-variable" Policy Statement to create custom variables for an Azure API service operation? The "set-variable" policy statement allows you to create custom variables with given values to be used later in other policy statements. The "set-variable" statement has the following syntax...
2018-01-24, 317👍, 0💬

Online RSS and Atom Aggregators
What are Online RSS and Atom Aggregators? An online RSS aggregator is a Website that serves you as a RSS aggregator. Once you have registered an online RSS aggregator, you can access it from any computer on the Internet. Examples of online RSS aggregators are: Google Reader - http://reader.google.co...
2017-09-28, 317👍, 0💬

View Atom Feeds with IE (Internet Explorer)
How to View Atom Feeds with IE (Internet Explorer)? If you want to view Atom Feeds with IE (Internet Explorer), you can follow this tutorial: 1. Launch IE (Internet Explorer) 11. 2. Enter the following in the URL input box: http://dev.fyicenter.com/atom_ xml.php3. Press "Enter" key. You see the Atom...
2017-12-31, 316👍, 0💬

'xsl-transform' Azure API Policy Statement
How to use "xsl-transform" Azure API Policy Statement? The "xsl-transform" Policy Statement allows you to apply an XSL transformation to XML in the body of the inbound request or outbound response. The "xsl-transform" Policy Statement uses the following syntax: &lt;xsl-transform&gt; &lt;...
2017-12-04, 316👍, 0💬

Google Chrome Showing Atom Feeds as XML
Why is Google Chrome Showing Atom Feeds as XML? Google Chrome is showing Atom Feeds as XML, because it has stopped the support of formatted viewing of Atom feeds by default. Follow this tutorial to see this behavior: 1. Launch Google Chrome 60. 2. Enter the following in the URL input box: http://dev...
2017-12-31, 315👍, 0💬

Azure API Policy Examples
Where to find examples of API policy for Azure API Management Services at Azure Portal? Here is a list of examples of API policy for Azure API Management Services at Azure Portal: The Default Policy Policy to Echo the Request Body Only Policy to Set and Get Custom Variables   ⇒ The Default Policy ⇐...
2017-10-23, 315👍, 0💬

Implicit and Explicit ID of JSON Type
What are differences of the implicit ID and the explicit ID of a JSON type in JSON Schema? If a JSON type is defined under a "definitions" property, it could have two identifications: 1. Implicit identification: The implicit identification of a JSON type is an internal bookmark in the form of "#/def...
2017-08-20, 314👍, 0💬

'trace' Policy Statement
How to use the "trace" Policy Statement for an Azure API service operation? The "trace" policy statement allows you to generate debugging messages into the API trace output. The "trace" statement can be used in any policy blocks in the policy XML document. The "trace" statement has the following syn...
2018-03-10, 313👍, 0💬

<< < 15 16 17 18 19 20 21 22 23 24 25 > >>   Sort: Date