The .TEL Community on the .TEL Domain Forum!

Welcome to the Tel.community.

You are invited to participate in the growing .tel
community!

To take full advantage of everything offered by
our forum, please log in if you are already a
member or join our community if you're not yet.

The registration at TelTalk.org is free and easy!

Thank you for participation!

Join the forum, it's quick and easy

The .TEL Community on the .TEL Domain Forum!

Welcome to the Tel.community.

You are invited to participate in the growing .tel
community!

To take full advantage of everything offered by
our forum, please log in if you are already a
member or join our community if you're not yet.

The registration at TelTalk.org is free and easy!

Thank you for participation!

The .TEL Community on the .TEL Domain Forum!

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The .TEL Community on the .TEL Domain Forum!

Welcome to the objective forum for .tel domains! Read it first when anything is happening with .tel!

Please join the LIVE CHAT for all REGISTERED members at the bottom of our forum!

    Import/export tricks

    Telnic
    Telnic
    High-Flyer
    High-Flyer


    Join date : 2014-12-30
    Posts : 2903 Points : 11338
    Reputation : 0
    Warning level : 100 %

    Import/export tricks Empty Import/export tricks

    Post by Telnic 2015-01-03, 4:32 am

    henri03-30-2010 02:22 PM




    Import/export tricks
     
    Say you prefer writing text to clicking buttons in an interface, and you really don't care about profiles or privacy. Then the TelHosting import/export functionality is your friend.
    The format is pretty easy. Just copy the below into a text editor, modify the few obvious placeholders, add as many or sections as you want and just hit the import button in the TelHosting interface under "Settings".

    Code:



    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <exports xmlns="http://xmlns.telnic.org/nsp/exchange-container-1.0">
    <export xmlns="http://xmlns.telnic.org/nsp/exchange-4.0">
    <domains>
        <domain domainName="My Own Domain Title">
            <profiles>
                <profile default="true">
                    <name>default</name>
                    <records></records>
                </profile>
            </profiles>
            <records>
                <naptr allProfiles="true" class="1" id="[SOME-UNIQUE-NUMBER]" owner="@">
                    <order>100</order>
                    <preference>101</preference>
                    <flags>u</flags>
                    <services>E2U+x-photo:http</services>
                    <regexp>!^.*$!http://0.gravatar.com/avatar/8379aabc84ecee06f48d8ca48e09eef4?s=69&d=wavatar!</regexp>
                </naptr>
                <naptr allProfiles="true" class="1" id="[SOME-UNIQUE-NUMBER]" owner="@">
                    <order>10</order>
                    <preference>100</preference>
                    <flags>u</flags>
                    <services>E2U+web:http</services>
                    <regexp>!^.*$!http://someurl.com!</regexp>
                    <longLabel>My label</longLabel>
                </naptr>
                <loc allProfiles="true" class="1" id="[SOME-UNIQUE-NUMBER]" owner="@">
                    <latitude direction="north">
                        <degrees>34</degrees>
                        <minutes>14</minutes>
                        <seconds>15.562</seconds>
                    </latitude>
                    <longitude direction="west">
                        <degrees>118</degrees>
                        <minutes>27</minutes>
                        <seconds>34.404</seconds>
                    </longitude>
                    <altitude>0.00</altitude>
                    <size>10.00</size>
                    <horizPre>2.00</horizPre>
                    <vertPre>2.00</vertPre>
                </loc>
                <txt allProfiles="true" class="1" id="[SOME-UNIQUE-NUMBER]" owner="@">
                    <text>This is my domain header</text>
                </txt>
            </records>
            <searchData>
                <keyword field="pa" value="Fictional Address">
                    <keyword field="a1" value="11901 San Vincente Blvd"/>
                    <keyword field="tc" value="Los Angeles"/>
                    <keyword field="sp" value="CA"/>
                    <keyword field="pc" value="90049"/>
                    <keyword field="c" value="USA"/>
                </keyword>
                <keyword field="ft" value="Some more free text"/>
            </searchData>
        </domain>
    </domains>
    <zones/>
    </export>
    </exports>



    [size]
    The above code recreates a domain with:
    [/size]
    [size]

    No profiles are used, and all records are public.[/size]

    WilliamTelz04-03-2010 03:12 AM




    Hey, Henri, that's a handy little lesson in the basics of the text underlying Dot-Tel.

    Gives folks a much better understanding of these processes.

    When you do more of these Tips for non-programmers like myself, maybe you can highlight them as a series in the Forum, so they don't get lost.

    Thanks for that.

    Bunjie04-03-2010 07:22 AM




    Make some videos then TELNIC can get a bit of advert revenue from youtube :p 

    I'm sure that would come in handy for a christmas bonus, or what ever holiday season an employee who works at TELNIC is into

    LOL I think the import/export is now my new friend, a SQL/PHP output to XML with data that people have entered then save it off and upload it magic!

      Current date/time is 2024-05-19, 7:26 am