2024-08-24 18:23:27 +00:00
|
|
|
{{*
|
|
|
|
* Copyright (C) 2010-2024, the Friendica project
|
|
|
|
* SPDX-FileCopyrightText: 2010-2024 the Friendica project
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
*}}
|
2019-05-05 15:02:17 +00:00
|
|
|
<div id="feedtest" class="generic-page-wrapper">
|
2019-05-05 08:00:28 +00:00
|
|
|
<h2>Feed Test</h2>
|
|
|
|
<form action="feedtest" method="get" class="panel panel-default">
|
2018-03-10 17:43:34 +00:00
|
|
|
<div class="panel-body">
|
2019-05-05 08:00:28 +00:00
|
|
|
<div class="form-group">
|
|
|
|
{{include file="field_input.tpl" field=$url}}
|
|
|
|
</div>
|
|
|
|
<p><button type="submit" class="btn btn-primary">Submit</button></p>
|
2018-03-10 17:43:34 +00:00
|
|
|
</div>
|
2019-05-05 08:00:28 +00:00
|
|
|
</form>
|
|
|
|
|
|
|
|
{{if $result}}
|
|
|
|
<div class="feedtest-result">
|
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<h3 class="panel-title">Output Items</h3>
|
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
|
|
|
<pre>{{$result.output}}</pre>
|
|
|
|
</div>
|
2018-03-10 17:43:34 +00:00
|
|
|
</div>
|
2019-05-05 08:00:28 +00:00
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<h3 class="panel-title">Input Feed XML</h3>
|
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
|
|
|
{{$result.input}}
|
|
|
|
</div>
|
2018-03-10 17:43:34 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-05-05 08:00:28 +00:00
|
|
|
{{/if}}
|
2018-03-10 17:43:34 +00:00
|
|
|
</div>
|